Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002266/0.002266, allocations: 214.2 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.57/1.57, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1137/0.1137, allocations: 24.13 MB / 336.6 MB, free: 11.47 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003132/0.003132, allocations: 67.84 kB / 473.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3778, allocations: 59.59 MB / 0.5204 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.002073/0.3799, allocations: 0.7251 MB / 0.5211 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002088/0.3801, allocations: 23.36 kB / 0.5211 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.424e-05/0.3801, allocations: 1 kB / 0.5211 GB, free: 9.613 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.001e-05/0.3802, allocations: 4.797 kB / 0.5211 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.3802, allocations: 4.594 kB / 0.5211 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001071/0.3803, allocations: 8 kB / 0.5212 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.3804, allocations: 20.05 kB / 0.5212 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.3805, allocations: 3.438 kB / 0.5212 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.3806, allocations: 12.39 kB / 0.5212 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3807, allocations: 11.36 kB / 0.5212 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.3807, allocations: 1.219 kB / 0.5212 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.043e-05/0.3807, allocations: 2.281 kB / 0.5212 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.3807, allocations: 14.73 kB / 0.5212 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.3808, allocations: 10.59 kB / 0.5212 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.3809, allocations: 22.28 kB / 0.5212 GB, free: 9.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3809, allocations: 0 / 0.5212 GB, free: 9.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3809, allocations: 0 / 0.5212 GB, free: 9.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.3809, allocations: 1.891 kB / 0.5213 GB, free: 9.551 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004939/0.3814, allocations: 255.5 kB / 0.5215 GB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.3815, allocations: 10.62 kB / 0.5215 GB, free: 9.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.766e-05/0.3815, allocations: 32.52 kB / 0.5215 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.3815, allocations: 2.062 kB / 0.5215 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.3816, allocations: 114.2 kB / 0.5216 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3816, allocations: 1.406 kB / 0.5216 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.3816, allocations: 5.719 kB / 0.5217 GB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.3817, allocations: 40.69 kB / 0.5217 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3817, allocations: 5.062 kB / 0.5217 GB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3817, allocations: 4.797 kB / 0.5217 GB, free: 9.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3818, allocations: 5.047 kB / 0.5217 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.867e-05/0.3818, allocations: 10.16 kB / 0.5217 GB, free: 9.066 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.3821, allocations: 228.3 kB / 0.5219 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3822, allocations: 37.61 kB / 0.522 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.3822, allocations: 22.5 kB / 0.522 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3822, allocations: 2.25 kB / 0.522 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.3823, allocations: 31.94 kB / 0.522 GB, free: 8.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.3823, allocations: 0 / 0.522 GB, free: 8.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001622/0.3824, allocations: 55.89 kB / 0.5221 GB, free: 8.688 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3825, allocations: 53.31 kB / 0.5221 GB, free: 8.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.3825, allocations: 100.5 kB / 0.5222 GB, free: 8.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3825, allocations: 26.7 kB / 0.5222 GB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.596e-05/0.3826, allocations: 82.08 kB / 0.5223 GB, free: 8.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.3826, allocations: 9.844 kB / 0.5223 GB, free: 8.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.3826, allocations: 12.94 kB / 0.5223 GB, free: 8.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.496e-05/0.3826, allocations: 313.5 kB / 0.5226 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.3827, allocations: 15.42 kB / 0.5227 GB, free: 8.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.3827, allocations: 5.516 kB / 0.5227 GB, free: 8.062 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.901e-05/0.3827, allocations: 22.39 kB / 0.5227 GB, free: 8.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3827, allocations: 3.938 kB / 0.5227 GB, free: 8.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.769e-05/0.3828, allocations: 50.38 kB / 0.5227 GB, free: 8.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3828, allocations: 5.141 kB / 0.5227 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3828, allocations: 5.031 kB / 0.5228 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3828, allocations: 0 / 0.5228 GB, free: 8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.3829, allocations: 9.875 kB / 0.5228 GB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3829, allocations: 4.547 kB / 0.5228 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.469e-05/0.3829, allocations: 9 kB / 0.5228 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3829, allocations: 1.156 kB / 0.5228 GB, free: 7.984 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.815e-05/0.383, allocations: 113.1 kB / 0.5229 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.383, allocations: 5.156 kB / 0.5229 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.3831, allocations: 69.73 kB / 0.523 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.3831, allocations: 6.078 kB / 0.523 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3831, allocations: 0 / 0.523 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3831, allocations: 1.188 kB / 0.523 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.3833, allocations: 142.1 kB / 0.5231 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.3833, allocations: 1.219 kB / 0.5231 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.3833, allocations: 8.625 kB / 0.5231 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.3833, allocations: 0.6562 kB / 0.5231 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.3833, allocations: 1.344 kB / 0.5231 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3833, allocations: 4.547 kB / 0.5231 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3833, allocations: 0 / 0.5231 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.3834, allocations: 163.3 kB / 0.5233 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-06/0.3834, allocations: 5.906 kB / 0.5233 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3834, allocations: 1.953 kB / 0.5233 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.426e-05/0.3835, allocations: 0 / 0.5233 GB, free: 7.484 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.3835, allocations: 8.062 kB / 0.5233 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3835, allocations: 5.688 kB / 0.5233 GB, free: 7.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.587e-05/0.3836, allocations: 80.72 kB / 0.5234 GB, free: 7.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3836, allocations: 0 / 0.5234 GB, free: 7.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002153/0.3838, allocations: 7.594 kB / 0.5234 GB, free: 7.398 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002732/0.384, allocations: 0.6933 MB / 0.524 GB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000104/0.3841, allocations: 17.88 kB / 0.5241 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3841, allocations: 0 / 0.5241 GB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.3842, allocations: 18.84 kB / 0.5241 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3845, allocations: 8.922 kB / 0.5241 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007824/0.3853, allocations: 1.187 MB / 0.5253 GB, free: 5.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.3854, allocations: 0.681 MB / 0.5259 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.633e-05/0.3854, allocations: 4.953 kB / 0.5259 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.946e-05/0.3855, allocations: 19.23 kB / 0.5259 GB, free: 4.801 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3855, allocations: 1.281 kB / 0.5259 GB, free: 4.801 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0266/0.412, allocations: 1.41 MB / 0.5273 GB, free: 4.426 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.18, allocations: 8.625 kB / 0.5273 GB, free: 4.422 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.100899982033297] Failed to read output from testmodel.py, exit status != 0: 11.285745267057791 11.298764177 10.914719126 Calling exit ...