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.00128/0.00128, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001412/0.001412, allocations: 214.6 kB / 23.03 MB, free: 4.926 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1022/0.1022, allocations: 22.94 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.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.002545/0.002545, allocations: 71.89 kB / 472.2 MB, free: 7.836 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3431, allocations: 59.28 MB / 0.519 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003819/0.3469, allocations: 2.459 MB / 0.5214 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3484, allocations: 0.8034 MB / 0.5222 GB, free: 8.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.3486, allocations: 7.25 kB / 0.5222 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.3488, allocations: 50.28 kB / 0.5223 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003868/0.3491, allocations: 134.7 kB / 0.5224 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.3496, allocations: 139.6 kB / 0.5225 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005875/0.3502, allocations: 480.2 kB / 0.523 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004886/0.3507, allocations: 293.2 kB / 0.5233 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000377/0.3511, allocations: 223.2 kB / 0.5235 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.3516, allocations: 304.8 kB / 0.5238 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/0.3517, allocations: 50.5 kB / 0.5238 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.3519, allocations: 76.95 kB / 0.5239 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3521, allocations: 161.8 kB / 0.524 GB, free: 7.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.3523, allocations: 210 kB / 0.5242 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.353, allocations: 0.5783 MB / 0.5248 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.353, allocations: 1.406 kB / 0.5248 GB, free: 7.293 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.353, allocations: 0 / 0.5248 GB, free: 7.293 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.353, allocations: 0 / 0.5248 GB, free: 7.293 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.001782/0.3548, allocations: 0.6643 MB / 0.5255 GB, free: 6.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.3548, allocations: 10.67 kB / 0.5255 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.953e-05/0.3549, allocations: 9.594 kB / 0.5255 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.185e-05/0.3549, allocations: 68.38 kB / 0.5255 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3551, allocations: 49.02 kB / 0.5256 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005497/0.3556, allocations: 280.3 kB / 0.5258 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3557, allocations: 25.47 kB / 0.5259 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/0.3557, allocations: 34.72 kB / 0.5259 GB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008134/0.3566, allocations: 417.4 kB / 0.5263 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3566, allocations: 1.281 kB / 0.5263 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.3566, allocations: 14.5 kB / 0.5263 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.3566, allocations: 7.281 kB / 0.5263 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007607/0.3574, allocations: 402.3 kB / 0.5267 GB, free: 6.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002521/0.3599, allocations: 1.169 MB / 0.5279 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.3604, allocations: 288.5 kB / 0.5281 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003371/0.3608, allocations: 195.9 kB / 0.5283 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.3608, allocations: 8.188 kB / 0.5283 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.3608, allocations: 38.11 kB / 0.5284 GB, free: 5.266 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004625/0.3613, allocations: 79.19 kB / 0.5284 GB, free: 5.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.554e-06/0.3613, allocations: 0 / 0.5284 GB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005339/0.3666, allocations: 1.535 MB / 0.5299 GB, free: 4.559 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3667, allocations: 59.45 kB / 0.53 GB, free: 4.492 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.367, allocations: 321.2 kB / 0.5303 GB, free: 4.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.367, allocations: 30.7 kB / 0.5303 GB, free: 4.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3672, allocations: 201.3 kB / 0.5305 GB, free: 4.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.972e-05/0.3673, allocations: 133 kB / 0.5306 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.3674, allocations: 82.12 kB / 0.5307 GB, free: 3.965 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.561e-05/0.3675, allocations: 350.5 kB / 0.5311 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.368, allocations: 192.5 kB / 0.5312 GB, free: 3.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.3684, allocations: 253.5 kB / 0.5315 GB, free: 3.434 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.009934/0.3784, allocations: 1.791 MB / 0.5332 GB, free: 3.027 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.3784, allocations: 0 / 0.5332 GB, free: 3.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002017/0.3804, allocations: 0.6523 MB / 0.5339 GB, free: 2.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3804, allocations: 6.156 kB / 0.5339 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3804, allocations: 1.562 kB / 0.5339 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.3818, allocations: 202 kB / 0.5341 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.3824, allocations: 105.2 kB / 0.5342 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007571/0.3832, allocations: 1.173 MB / 0.5353 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.3836, allocations: 19.56 kB / 0.5353 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.544e-05/0.3836, allocations: 24.47 kB / 0.5354 GB, free: 1.57 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.000254/0.3839, allocations: 165 kB / 0.5355 GB, free: 1.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.384, allocations: 39.58 kB / 0.5355 GB, free: 1.402 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/0.3857, allocations: 0.6549 MB / 0.5362 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.3858, allocations: 4.531 kB / 0.5362 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3858, allocations: 0.7969 kB / 0.5362 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.3858, allocations: 11.12 kB / 0.5362 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/0.3879, allocations: 1.081 MB / 0.5373 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3879, allocations: 0.5156 kB / 0.5373 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005226/0.3884, allocations: 80.5 kB / 0.5373 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008531/0.3893, allocations: 171.7 kB / 0.5375 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.3893, allocations: 14.78 kB / 0.5375 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008044/0.3901, allocations: 1.159 MB / 0.5386 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3901, allocations: 0 / 0.5386 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.392, allocations: 0.9024 MB / 0.5395 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3921, allocations: 41.17 kB / 0.5396 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/0.3922, allocations: 9.266 kB / 0.5396 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.3925, allocations: 16.56 kB / 0.5396 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3926, allocations: 30.41 kB / 0.5396 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.3926, allocations: 10.3 kB / 0.5396 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.3929, allocations: 229.5 kB / 0.5399 GB, free: 14.69 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3929, allocations: 0 / 0.5399 GB, free: 14.69 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.3934, allocations: 106.7 kB / 0.54 GB, free: 14.68 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.002372/0.3958, allocations: 1.47 MB / 0.5414 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001307/0.3971, allocations: 477 kB / 0.5418 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3971, allocations: 0 / 0.5418 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006707/0.3978, allocations: 264 kB / 0.5421 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.3983, allocations: 90.48 kB / 0.5422 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007599/0.4059, allocations: 4.446 MB / 0.5465 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.4061, allocations: 213.2 kB / 0.5467 GB, free: 10.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003098/0.4064, allocations: 80.83 kB / 0.5468 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.4067, allocations: 140.7 kB / 0.5469 GB, free: 10.2 MB / 398.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4067, allocations: 0 / 0.5469 GB, free: 10.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04672/0.4534, allocations: 11.18 MB / 0.5579 GB, free: 4.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.1, allocations: 13.7 kB / 0.5579 GB, free: 4.781 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.94936394901015] Failed to read output from testmodel.py, exit status != 0: 14.279867801000364 14.299371564 13.943252497 Calling exit ...