Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_001.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.001307/0.001307, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001609/0.001609, allocations: 220.1 kB / 23.04 MB, free: 5.074 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1045/0.1045, allocations: 22.94 MB / 336.2 MB, free: 12.6 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_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",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.00215/0.00215, allocations: 67.89 kB / 472.3 MB, free: 8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 59.28 MB / 0.5191 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.00345/0.3456, allocations: 2.65 MB / 0.5217 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3472, allocations: 0.8659 MB / 0.5225 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.3473, allocations: 7.531 kB / 0.5225 GB, free: 8.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.3475, allocations: 50.86 kB / 0.5226 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.3479, allocations: 129.8 kB / 0.5227 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.3484, allocations: 138.7 kB / 0.5229 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005541/0.3489, allocations: 485.9 kB / 0.5233 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.3494, allocations: 281.6 kB / 0.5236 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.3497, allocations: 231 kB / 0.5238 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.3502, allocations: 305.2 kB / 0.5241 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.184e-05/0.3503, allocations: 52.91 kB / 0.5241 GB, free: 7.445 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.3504, allocations: 82.5 kB / 0.5242 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001356/0.3505, allocations: 152.5 kB / 0.5244 GB, free: 7.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.3507, allocations: 243 kB / 0.5246 GB, free: 7.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004995/0.3512, allocations: 0.5797 MB / 0.5252 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3513, allocations: 0 / 0.5252 GB, free: 7.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3513, allocations: 1.219 kB / 0.5252 GB, free: 7.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3513, allocations: 0 / 0.5252 GB, free: 7.004 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001442/0.3527, allocations: 0.66 MB / 0.5258 GB, free: 6.547 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.3527, allocations: 11.42 kB / 0.5258 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/0.3528, allocations: 8.75 kB / 0.5258 GB, free: 6.547 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.688e-05/0.3528, allocations: 77.56 kB / 0.5259 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.3529, allocations: 44.98 kB / 0.5259 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.3533, allocations: 280.7 kB / 0.5262 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3533, allocations: 22.22 kB / 0.5262 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.532e-05/0.3534, allocations: 33.47 kB / 0.5263 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/0.3542, allocations: 417.3 kB / 0.5267 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3542, allocations: 0 / 0.5267 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.3542, allocations: 10.44 kB / 0.5267 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-06/0.3543, allocations: 7.562 kB / 0.5267 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.355, allocations: 405.7 kB / 0.5271 GB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.3574, allocations: 1.273 MB / 0.5283 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.358, allocations: 291.9 kB / 0.5286 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/0.3583, allocations: 196.4 kB / 0.5288 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.3583, allocations: 11.59 kB / 0.5288 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.3584, allocations: 33.78 kB / 0.5288 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004537/0.3588, allocations: 82.42 kB / 0.5289 GB, free: 4.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.3588, allocations: 0 / 0.5289 GB, free: 4.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005164/0.364, allocations: 1.534 MB / 0.5304 GB, free: 4.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.364, allocations: 63.8 kB / 0.5305 GB, free: 4.172 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.3644, allocations: 320.6 kB / 0.5308 GB, free: 3.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.3644, allocations: 30.86 kB / 0.5308 GB, free: 3.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.903e-05/0.3645, allocations: 209 kB / 0.531 GB, free: 3.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-05/0.3646, allocations: 125.9 kB / 0.5311 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3647, allocations: 84.72 kB / 0.5312 GB, free: 3.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.3648, allocations: 350.7 kB / 0.5315 GB, free: 3.309 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.3652, allocations: 192 kB / 0.5317 GB, free: 3.238 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.3656, allocations: 256.4 kB / 0.532 GB, free: 3.105 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.009577/0.3752, allocations: 1.793 MB / 0.5337 GB, free: 2.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3752, allocations: 0.6562 kB / 0.5337 GB, free: 2.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001722/0.3769, allocations: 0.6481 MB / 0.5343 GB, free: 2.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.377, allocations: 9.281 kB / 0.5344 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.377, allocations: 5.062 kB / 0.5344 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.3784, allocations: 202.5 kB / 0.5346 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/0.3789, allocations: 105.6 kB / 0.5347 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008106/0.3797, allocations: 1.171 MB / 0.5358 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.3802, allocations: 18.86 kB / 0.5358 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/0.3803, allocations: 20 kB / 0.5358 GB, free: 1.242 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003074/0.3806, allocations: 176.3 kB / 0.536 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3807, allocations: 41.22 kB / 0.536 GB, free: 1.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/0.3825, allocations: 0.6358 MB / 0.5367 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.3825, allocations: 8.094 kB / 0.5367 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.3825, allocations: 1.406 kB / 0.5367 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.3825, allocations: 6.328 kB / 0.5367 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002275/0.3848, allocations: 1.154 MB / 0.5378 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3848, allocations: 0 / 0.5378 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005236/0.3853, allocations: 89.59 kB / 0.5379 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009188/0.3863, allocations: 162.6 kB / 0.538 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.3863, allocations: 15.95 kB / 0.5381 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009747/0.3873, allocations: 1.161 MB / 0.5392 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3873, allocations: 0 / 0.5392 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001945/0.3892, allocations: 0.8922 MB / 0.5401 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3894, allocations: 41.02 kB / 0.5401 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3895, allocations: 18.41 kB / 0.5401 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.3898, allocations: 11.39 kB / 0.5401 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3899, allocations: 35.19 kB / 0.5402 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.969e-05/0.39, allocations: 14.8 kB / 0.5402 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002822/0.3903, allocations: 228.5 kB / 0.5404 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3903, allocations: 1.062 kB / 0.5404 GB, free: 14.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.3908, allocations: 106 kB / 0.5405 GB, free: 14.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002341/0.3931, allocations: 1.455 MB / 0.5419 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3945, allocations: 485.6 kB / 0.5424 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3945, allocations: 320 / 0.5424 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.3953, allocations: 263.7 kB / 0.5426 GB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006585/0.3959, allocations: 98.62 kB / 0.5427 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008508/0.4044, allocations: 4.448 MB / 0.5471 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005204/0.405, allocations: 0.8111 MB / 0.5479 GB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.4053, allocations: 80.7 kB / 0.5479 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.4056, allocations: 144.3 kB / 0.5481 GB, free: 9.117 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4056, allocations: 0 / 0.5481 GB, free: 9.117 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04373/0.4494, allocations: 11.18 MB / 0.559 GB, free: 3.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.09, allocations: 6.734 kB / 0.559 GB, free: 3.676 MB / 398.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_001_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.95815041498281] Failed to read output from testmodel.py, exit status != 0: 14.27318338904297 14.303689821 13.946705091 Calling exit ...