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.001373/0.001373, 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.001961/0.001961, allocations: 215.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.464/1.464, allocations: 230.6 MB / 256 MB, free: 8.016 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.131/0.131, allocations: 24.13 MB / 336.6 MB, free: 11.43 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="me",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="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.003281/0.003281, allocations: 63.91 kB / 473.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3531, allocations: 59.6 MB / 0.5204 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003686/0.3568, allocations: 2.655 MB / 0.523 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3584, allocations: 0.8649 MB / 0.5239 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.3586, allocations: 3.188 kB / 0.5239 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002096/0.3588, allocations: 50.06 kB / 0.5239 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003625/0.3592, allocations: 134.2 kB / 0.524 GB, free: 7.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.3596, allocations: 140.1 kB / 0.5242 GB, free: 7.426 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005665/0.3602, allocations: 480.3 kB / 0.5246 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005193/0.3607, allocations: 285.4 kB / 0.5249 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003715/0.3611, allocations: 231.4 kB / 0.5251 GB, free: 6.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.3615, allocations: 305.6 kB / 0.5254 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/0.3616, allocations: 49.38 kB / 0.5255 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001787/0.3618, allocations: 77.44 kB / 0.5255 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.3619, allocations: 156.9 kB / 0.5257 GB, free: 6.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.3622, allocations: 243 kB / 0.5259 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007746/0.363, allocations: 0.5782 MB / 0.5265 GB, free: 6.406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.363, allocations: 1.219 kB / 0.5265 GB, free: 6.406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.363, allocations: 0 / 0.5265 GB, free: 6.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.363, allocations: 0 / 0.5265 GB, free: 6.406 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.001732/0.3647, allocations: 0.664 MB / 0.5271 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.3648, allocations: 11.05 kB / 0.5271 GB, free: 5.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.526e-05/0.3649, allocations: 64.59 kB / 0.5272 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.365, allocations: 40.64 kB / 0.5272 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.3655, allocations: 285.6 kB / 0.5275 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.3655, allocations: 26.02 kB / 0.5275 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.267e-05/0.3656, allocations: 29.94 kB / 0.5276 GB, free: 5.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.3665, allocations: 420.1 kB / 0.528 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3665, allocations: 1.125 kB / 0.528 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.3665, allocations: 14.19 kB / 0.528 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.3665, allocations: 11.69 kB / 0.528 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.3674, allocations: 398.9 kB / 0.5284 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002974/0.3704, allocations: 1.276 MB / 0.5296 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/0.3709, allocations: 288.2 kB / 0.5299 GB, free: 4.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.3713, allocations: 199.1 kB / 0.5301 GB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.3713, allocations: 8.641 kB / 0.5301 GB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3714, allocations: 40.34 kB / 0.5301 GB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004582/0.3718, allocations: 74.7 kB / 0.5302 GB, free: 4.328 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.3718, allocations: 1.281 kB / 0.5302 GB, free: 4.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.00574/0.3776, allocations: 1.54 MB / 0.5317 GB, free: 3.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/0.3776, allocations: 58.45 kB / 0.5318 GB, free: 3.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.378, allocations: 323.4 kB / 0.5321 GB, free: 3.395 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.498e-05/0.3781, allocations: 33.44 kB / 0.5321 GB, free: 3.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.3782, allocations: 199.5 kB / 0.5323 GB, free: 3.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.3783, allocations: 138.1 kB / 0.5324 GB, free: 3.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.3784, allocations: 83.28 kB / 0.5325 GB, free: 3.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.576e-05/0.3785, allocations: 346.7 kB / 0.5328 GB, free: 2.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.3789, allocations: 193.3 kB / 0.533 GB, free: 2.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.3793, allocations: 251.2 kB / 0.5333 GB, free: 2.512 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.01015/0.3895, allocations: 1.796 MB / 0.535 GB, free: 2.098 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3895, allocations: 0 / 0.535 GB, free: 2.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001806/0.3913, allocations: 0.6448 MB / 0.5356 GB, free: 1.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.3913, allocations: 8.641 kB / 0.5357 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.3913, allocations: 1.094 kB / 0.5357 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.3928, allocations: 206.9 kB / 0.5359 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006615/0.3935, allocations: 105 kB / 0.536 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008662/0.3943, allocations: 1.18 MB / 0.5371 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005036/0.3948, allocations: 15.25 kB / 0.5371 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3949, allocations: 21.02 kB / 0.5371 GB, free: 0.6406 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.0003225/0.3952, allocations: 172.7 kB / 0.5373 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.492e-05/0.3953, allocations: 39.2 kB / 0.5373 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/0.3971, allocations: 0.6394 MB / 0.538 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3971, allocations: 4.406 kB / 0.538 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.3971, allocations: 1.734 kB / 0.538 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3971, allocations: 13.95 kB / 0.538 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.3998, allocations: 1.142 MB / 0.5391 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.3998, allocations: 3.938 kB / 0.5391 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005769/0.4004, allocations: 88.83 kB / 0.5392 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009575/0.4013, allocations: 170.9 kB / 0.5394 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.4014, allocations: 11.53 kB / 0.5394 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.4025, allocations: 1.16 MB / 0.5405 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4025, allocations: 1.125 kB / 0.5405 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.4047, allocations: 0.8973 MB / 0.5414 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.4049, allocations: 40.11 kB / 0.5414 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/0.405, allocations: 13.53 kB / 0.5414 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.4053, allocations: 15.5 kB / 0.5414 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4054, allocations: 31.67 kB / 0.5415 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.4054, allocations: 13.8 kB / 0.5415 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000343/0.4058, allocations: 228.8 kB / 0.5417 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4058, allocations: 1.594 kB / 0.5417 GB, free: 13.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005834/0.4064, allocations: 110 kB / 0.5418 GB, free: 13.72 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.002614/0.409, allocations: 1.457 MB / 0.5432 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.4104, allocations: 485.9 kB / 0.5437 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4104, allocations: 1.25 kB / 0.5437 GB, free: 12.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006831/0.411, allocations: 264.5 kB / 0.5439 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.4117, allocations: 85.86 kB / 0.544 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008949/0.4206, allocations: 4.452 MB / 0.5484 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/0.4213, allocations: 0.8145 MB / 0.5492 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004419/0.4217, allocations: 73.09 kB / 0.5492 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003127/0.422, allocations: 141.1 kB / 0.5494 GB, free: 8.332 MB / 398.1 MB Notification: Performance of SimCode: time 2.495e-06/0.422, allocations: 4 kB / 0.5494 GB, free: 8.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0539/0.4759, allocations: 11.16 MB / 0.5603 GB, free: 2.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.16, allocations: 0 / 0.5603 GB, free: 2.102 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.915000045206398] Failed to read output from testmodel.py, exit status != 0: 14.282497191103175 14.302260383 13.934633867 Calling exit ...