Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.TITO_rational_zeroInit.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.001431/0.001431, allocations: 101.9 kB / 19.73 MB, free: 1.992 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.001526/0.001526, allocations: 212.3 kB / 23.03 MB, free: 4.426 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1061/0.1061, allocations: 22.93 MB / 336.2 MB, free: 12.4 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.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.TITO_rational_zeroInit,fileNamePrefix="AES_AES_ProcessBlocks_TITO_rational_zeroInit",fmuType="cs",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.002123/0.002123, allocations: 75.88 kB / 469.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 59.29 MB / 0.5167 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.TITO_rational_zeroInit): time 0.0022/0.3651, allocations: 1.05 MB / 0.5177 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.3668, allocations: 1.314 MB / 0.519 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3669, allocations: 7.406 kB / 0.519 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.3673, allocations: 73.09 kB / 0.5191 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.3675, allocations: 86.34 kB / 0.5192 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003623/0.3679, allocations: 160.8 kB / 0.5193 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007193/0.3686, allocations: 0.5387 MB / 0.5198 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3687, allocations: 38.48 kB / 0.5199 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.369, allocations: 193.7 kB / 0.5201 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.3693, allocations: 185 kB / 0.5202 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.3693, allocations: 18.19 kB / 0.5203 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.962e-05/0.3694, allocations: 18.84 kB / 0.5203 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3695, allocations: 111.2 kB / 0.5204 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.679e-05/0.3696, allocations: 80.38 kB / 0.5205 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.3698, allocations: 225.2 kB / 0.5207 GB, free: 7.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3699, allocations: 0.9375 kB / 0.5207 GB, free: 7.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3699, allocations: 0 / 0.5207 GB, free: 7.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3699, allocations: 0 / 0.5207 GB, free: 7.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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001669/0.3715, allocations: 0.6326 MB / 0.5213 GB, free: 7.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.3716, allocations: 15.91 kB / 0.5213 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.971e-05/0.3716, allocations: 4.266 kB / 0.5213 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.3717, allocations: 51.31 kB / 0.5214 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.3717, allocations: 31.17 kB / 0.5214 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008786/0.3726, allocations: 355.9 kB / 0.5217 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3726, allocations: 9.641 kB / 0.5217 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.78e-05/0.3727, allocations: 14.47 kB / 0.5217 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.3729, allocations: 171.6 kB / 0.5219 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.373, allocations: 1.062 kB / 0.5219 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.373, allocations: 13.25 kB / 0.5219 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.373, allocations: 2.5 kB / 0.5219 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.3733, allocations: 148.1 kB / 0.5221 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.3743, allocations: 0.6086 MB / 0.5227 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/0.3748, allocations: 197.6 kB / 0.5228 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.375, allocations: 79.09 kB / 0.5229 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.375, allocations: 6.547 kB / 0.5229 GB, free: 6.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.375, allocations: 38.55 kB / 0.523 GB, free: 6.137 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.445e-06/0.375, allocations: 2.109 kB / 0.523 GB, free: 6.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002565/0.3776, allocations: 1.157 MB / 0.5241 GB, free: 5.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3776, allocations: 81.42 kB / 0.5242 GB, free: 5.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.3785, allocations: 428.9 kB / 0.5246 GB, free: 5.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.3785, allocations: 30.86 kB / 0.5246 GB, free: 5.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.3786, allocations: 162.3 kB / 0.5248 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.3787, allocations: 105.1 kB / 0.5249 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.3787, allocations: 47.19 kB / 0.5249 GB, free: 4.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.3788, allocations: 342.6 kB / 0.5252 GB, free: 4.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.379, allocations: 109.9 kB / 0.5253 GB, free: 4.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.3791, allocations: 132 kB / 0.5255 GB, free: 4.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.3795, allocations: 261.9 kB / 0.5257 GB, free: 4.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3795, allocations: 0.8125 kB / 0.5257 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004737/0.38, allocations: 317.1 kB / 0.526 GB, free: 4.332 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.38, allocations: 9.219 kB / 0.526 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.38, allocations: 2.266 kB / 0.526 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.38, allocations: 1.656 kB / 0.526 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.3804, allocations: 76.55 kB / 0.5261 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3804, allocations: 1.062 kB / 0.5261 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.3808, allocations: 50.83 kB / 0.5262 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3808, allocations: 10.31 kB / 0.5262 GB, free: 4.312 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (32): * Single equations (assignments): 32 * 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 0.0001317/0.3809, allocations: 159 kB / 0.5263 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.381, allocations: 32.44 kB / 0.5264 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.3811, allocations: 52.17 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3811, allocations: 3.125 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.3811, allocations: 1.188 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3811, allocations: 1.188 kB / 0.5264 GB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008798/0.382, allocations: 0.7155 MB / 0.5271 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.382, allocations: 1.219 kB / 0.5271 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.3824, allocations: 72.55 kB / 0.5272 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3824, allocations: 1.156 kB / 0.5272 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.3825, allocations: 8.266 kB / 0.5272 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3825, allocations: 2.156 kB / 0.5272 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3825, allocations: 0.75 kB / 0.5272 GB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.3832, allocations: 0.628 MB / 0.5278 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.3833, allocations: 37.38 kB / 0.5278 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.899e-05/0.3833, allocations: 8.516 kB / 0.5278 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.3838, allocations: 51.17 kB / 0.5279 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.517e-05/0.3838, allocations: 14.33 kB / 0.5279 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3838, allocations: 11.61 kB / 0.5279 GB, free: 3.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007488/0.3846, allocations: 336.8 kB / 0.5282 GB, free: 3.102 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3846, allocations: 3.938 kB / 0.5282 GB, free: 3.098 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.3849, allocations: 50.34 kB / 0.5283 GB, free: 3.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 ($outputAlias_y2,P22.x_scaled[1],$outputAlias_y1,P12.x_scaled[1]) * 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 (28): * Single equations (assignments): 28 * 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.0008237/0.3857, allocations: 1.186 MB / 0.5295 GB, free: 2.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004377/0.3862, allocations: 243 kB / 0.5297 GB, free: 2.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3862, allocations: 5.125 kB / 0.5297 GB, free: 2.105 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3864, allocations: 122.4 kB / 0.5298 GB, free: 2.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.3869, allocations: 56.02 kB / 0.5299 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005417/0.3923, allocations: 3.526 MB / 0.5333 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002118/0.3925, allocations: 191.3 kB / 0.5335 GB, free: 16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.3927, allocations: 76.91 kB / 0.5336 GB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3929, allocations: 99.12 kB / 0.5337 GB, free: 15.91 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3929, allocations: 0 / 0.5337 GB, free: 15.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03077/0.4237, allocations: 6.042 MB / 0.5396 GB, free: 14.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.35, allocations: 4.125 kB / 0.5396 GB, free: 14.41 MB / 398.1 MB " [Timeout remaining time 647] (rm -f AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; mkfifo AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe >> ../files/AES_AES.ProcessBlocks.TITO_rational_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_TITO_rational_zeroInit_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_TITO_rational_zeroInit.fmu > AES_AES.ProcessBlocks.TITO_rational_zeroInit.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.109889618935995] Failed to read output from testmodel.py, exit status != 0: 12.52089495700784 12.546896147 12.172114137 Calling exit ...