Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_006.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.001353/0.001353, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001425/0.001425, allocations: 206.7 kB / 23.01 MB, free: 4.621 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1078/0.1078, allocations: 24.03 MB / 337.2 MB, free: 11.35 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_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_006,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_006",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.002267/0.002267, allocations: 72.19 kB / 473.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4214, allocations: 59.57 MB / 0.5209 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_006): time 0.003281/0.4247, allocations: 2.271 MB / 0.5231 GB, free: 8.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4262, allocations: 0.7426 MB / 0.5239 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.4264, allocations: 5.219 kB / 0.5239 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.4266, allocations: 44.91 kB / 0.5239 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.4269, allocations: 137.9 kB / 0.524 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005682/0.4274, allocations: 142.3 kB / 0.5242 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007541/0.4282, allocations: 0.5778 MB / 0.5247 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.4286, allocations: 296.1 kB / 0.525 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.429, allocations: 263.5 kB / 0.5253 GB, free: 7.418 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005292/0.4295, allocations: 337.3 kB / 0.5256 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.4297, allocations: 60.06 kB / 0.5256 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.4298, allocations: 61.28 kB / 0.5257 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.43, allocations: 194.5 kB / 0.5259 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.4302, allocations: 239.1 kB / 0.5261 GB, free: 7.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.4309, allocations: 0.6561 MB / 0.5268 GB, free: 6.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4309, allocations: 1.062 kB / 0.5268 GB, free: 6.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4309, allocations: 3.938 kB / 0.5268 GB, free: 6.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.4309, allocations: 0 / 0.5268 GB, free: 6.84 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001676/0.4326, allocations: 0.7172 MB / 0.5275 GB, free: 6.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.4326, allocations: 10.17 kB / 0.5275 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.394e-05/0.4327, allocations: 67.98 kB / 0.5275 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.4328, allocations: 46.34 kB / 0.5276 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.4333, allocations: 292.4 kB / 0.5279 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.4334, allocations: 22.06 kB / 0.5279 GB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/0.4334, allocations: 34.88 kB / 0.5279 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009425/0.4344, allocations: 0.498 MB / 0.5284 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.4344, allocations: 0 / 0.5284 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.4345, allocations: 16.41 kB / 0.5284 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.4345, allocations: 6.812 kB / 0.5284 GB, free: 5.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.4355, allocations: 0.5415 MB / 0.529 GB, free: 5.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002708/0.4382, allocations: 1.153 MB / 0.5301 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000884/0.4391, allocations: 393 kB / 0.5305 GB, free: 4.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/0.4396, allocations: 236.5 kB / 0.5307 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.4397, allocations: 10.14 kB / 0.5307 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.4397, allocations: 48.77 kB / 0.5307 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003367/0.44, allocations: 74.8 kB / 0.5308 GB, free: 4.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.854e-06/0.44, allocations: 0 / 0.5308 GB, free: 4.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.003822/0.4438, allocations: 1.419 MB / 0.5322 GB, free: 4.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4439, allocations: 59.97 kB / 0.5323 GB, free: 3.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004012/0.4443, allocations: 362.5 kB / 0.5326 GB, free: 3.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.4443, allocations: 32.05 kB / 0.5326 GB, free: 3.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.4445, allocations: 213 kB / 0.5328 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.4446, allocations: 163.2 kB / 0.533 GB, free: 3.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.4448, allocations: 116.4 kB / 0.5331 GB, free: 3.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.4449, allocations: 350.3 kB / 0.5334 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.4454, allocations: 247.7 kB / 0.5337 GB, free: 2.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.4459, allocations: 363.3 kB / 0.534 GB, free: 2.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009592/0.4555, allocations: 2.246 MB / 0.5362 GB, free: 2.156 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.4555, allocations: 1.953 kB / 0.5362 GB, free: 2.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001298/0.4568, allocations: 0.7137 MB / 0.5369 GB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.4568, allocations: 5.344 kB / 0.5369 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4568, allocations: 4.281 kB / 0.5369 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.4569, allocations: 6.156 kB / 0.5369 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.4585, allocations: 297.2 kB / 0.5372 GB, free: 1.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.4604, allocations: 2.64 MB / 0.5398 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.4609, allocations: 23.92 kB / 0.5398 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.277e-05/0.4609, allocations: 27.39 kB / 0.5398 GB, free: 15.17 MB / 398.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.str1.w = 0.0 $DER.str2.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003282/0.4613, allocations: 178.2 kB / 0.54 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.4613, allocations: 38.5 kB / 0.54 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.4627, allocations: 0.6095 MB / 0.5406 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4627, allocations: 5.219 kB / 0.5406 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.4627, allocations: 1.188 kB / 0.5406 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.4627, allocations: 2.391 kB / 0.5406 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.4649, allocations: 1.108 MB / 0.5417 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.4649, allocations: 1.625 kB / 0.5417 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001532/0.4664, allocations: 252 kB / 0.542 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.4665, allocations: 1.375 kB / 0.542 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.624e-05/0.4665, allocations: 18.77 kB / 0.542 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.4688, allocations: 2.63 MB / 0.5446 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4688, allocations: 1.375 kB / 0.5446 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.4704, allocations: 0.8878 MB / 0.5454 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/0.4705, allocations: 38.59 kB / 0.5455 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.4706, allocations: 13.38 kB / 0.5455 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.471, allocations: 19.41 kB / 0.5455 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.4711, allocations: 41.14 kB / 0.5455 GB, free: 10.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.4711, allocations: 21.08 kB / 0.5455 GB, free: 10.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.4714, allocations: 253.2 kB / 0.5458 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4714, allocations: 0 / 0.5458 GB, free: 10.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006343/0.4721, allocations: 144.1 kB / 0.5459 GB, free: 10.66 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (str1.T[1],str1.T[2],str1.T[3],str1.T[4],str1.T[5],str2.T[1],str2.T[2],str2.T[3],str2.T[4],str2.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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001985/0.4741, allocations: 1.433 MB / 0.5473 GB, free: 9.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.4757, allocations: 0.5842 MB / 0.5479 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4757, allocations: 0 / 0.5479 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008995/0.4766, allocations: 309.3 kB / 0.5482 GB, free: 9.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006591/0.4773, allocations: 99.58 kB / 0.5483 GB, free: 9.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00948/0.4868, allocations: 5.356 MB / 0.5535 GB, free: 5.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.487, allocations: 215.6 kB / 0.5537 GB, free: 5.418 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004818/0.4875, allocations: 123.6 kB / 0.5538 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.4878, allocations: 153 kB / 0.554 GB, free: 5.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.873e-06/0.4878, allocations: 0 / 0.554 GB, free: 5.25 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04592/0.5338, allocations: 12.94 MB / 0.5666 GB, free: 11.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/13.78, allocations: 0 / 0.5666 GB, free: 11.8 MB / 414.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_006.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_006_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_006.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_006.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.72166687110439] Failed to read output from testmodel.py, exit status != 0: 13.906113747041672 13.922935724 13.48873858 Calling exit ...