Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 105.7 kB / 16.45 MB, free: 6.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002046/0.002046, allocations: 196.5 kB / 19.41 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.09774/0.09774, allocations: 22.7 MB / 325.4 MB, free: 3.547 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.12 kB / 457.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1114, allocations: 58.01 MB / 0.5031 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.004832/0.1162, allocations: 3.124 MB / 0.5062 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1178, allocations: 0.8888 MB / 0.507 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.118, allocations: 15.88 kB / 0.507 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.1182, allocations: 91.22 kB / 0.5071 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004411/0.1187, allocations: 230.6 kB / 0.5074 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.1191, allocations: 163.7 kB / 0.5075 GB, free: 3.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.1204, allocations: 1.088 MB / 0.5086 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007927/0.1212, allocations: 0.6536 MB / 0.5092 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.1217, allocations: 426.9 kB / 0.5096 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007106/0.1224, allocations: 0.4984 MB / 0.5101 GB, free: 440 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.1225, allocations: 116 kB / 0.5102 GB, free: 324 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1228, allocations: 120 kB / 0.5103 GB, free: 204 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.21/0.3328, allocations: 337.6 kB / 0.5107 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006894/0.3335, allocations: 471.8 kB / 0.5111 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3347, allocations: 1.301 MB / 0.5124 GB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3347, allocations: 0 / 0.5124 GB, free: 11.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3347, allocations: 0.5938 kB / 0.5124 GB, free: 11.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.3347, allocations: 4.5 kB / 0.5124 GB, free: 11.52 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002386/0.3371, allocations: 1.196 MB / 0.5135 GB, free: 10.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3371, allocations: 12.72 kB / 0.5136 GB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.3372, allocations: 100.4 kB / 0.5137 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.3374, allocations: 85.39 kB / 0.5137 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007303/0.3381, allocations: 0.5266 MB / 0.5142 GB, free: 10.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.3382, allocations: 43.61 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/0.3383, allocations: 61.33 kB / 0.5143 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.3395, allocations: 0.7799 MB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3395, allocations: 3.703 kB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.3395, allocations: 21.59 kB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3395, allocations: 14.33 kB / 0.5151 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.3406, allocations: 0.6865 MB / 0.5158 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.3454, allocations: 3.567 MB / 0.5193 GB, free: 8.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.3474, allocations: 0.8631 MB / 0.5201 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.3479, allocations: 357.8 kB / 0.5205 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.348, allocations: 9.703 kB / 0.5205 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.348, allocations: 38.62 kB / 0.5205 GB, free: 8.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.348, allocations: 4 kB / 0.5205 GB, free: 8.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.008546/0.3566, allocations: 3.338 MB / 0.5238 GB, free: 6.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.3566, allocations: 70.16 kB / 0.5239 GB, free: 6.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.3572, allocations: 470.3 kB / 0.5243 GB, free: 6.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.3572, allocations: 36.36 kB / 0.5243 GB, free: 6.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.3574, allocations: 327.6 kB / 0.5247 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3576, allocations: 232.3 kB / 0.5249 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.3578, allocations: 145 kB / 0.525 GB, free: 5.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.3579, allocations: 369.9 kB / 0.5254 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/0.3587, allocations: 440.2 kB / 0.5258 GB, free: 5.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008336/0.3595, allocations: 0.5845 MB / 0.5264 GB, free: 4.727 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.007468/0.367, allocations: 2.483 MB / 0.5288 GB, free: 3.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.367, allocations: 1.406 kB / 0.5288 GB, free: 3.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003315/0.3703, allocations: 1.439 MB / 0.5302 GB, free: 3.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.3703, allocations: 6.812 kB / 0.5302 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3703, allocations: 4.469 kB / 0.5302 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001569/0.3719, allocations: 366.1 kB / 0.5306 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/0.3728, allocations: 217.8 kB / 0.5308 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00992/0.3827, allocations: 11.16 MB / 0.5417 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008734/0.3836, allocations: 53.05 kB / 0.5417 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/0.3837, allocations: 31.05 kB / 0.5417 GB, free: 8.543 MB / 398.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.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004822/0.3842, allocations: 273.5 kB / 0.542 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/0.3843, allocations: 66.16 kB / 0.5421 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.3869, allocations: 1.15 MB / 0.5432 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.3869, allocations: 7.031 kB / 0.5432 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.3869, allocations: 5.094 kB / 0.5432 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.3869, allocations: 4.516 kB / 0.5432 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004008/0.3909, allocations: 2.102 MB / 0.5453 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.3909, allocations: 0 / 0.5453 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009772/0.3919, allocations: 178.1 kB / 0.5454 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001195/0.3931, allocations: 307.2 kB / 0.5457 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.888e-05/0.3932, allocations: 38.12 kB / 0.5458 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00924/0.4024, allocations: 10.62 MB / 0.5561 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4024, allocations: 4.062 kB / 0.5561 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.4058, allocations: 1.56 MB / 0.5576 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.406, allocations: 138.1 kB / 0.5578 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4061, allocations: 29.3 kB / 0.5578 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.4066, allocations: 38.61 kB / 0.5578 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.4067, allocations: 51.36 kB / 0.5579 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.076e-05/0.4068, allocations: 23.05 kB / 0.5579 GB, free: 10.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000404/0.4072, allocations: 326.9 kB / 0.5582 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4072, allocations: 0 / 0.5582 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009172/0.4081, allocations: 241.6 kB / 0.5585 GB, free: 10.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3]) * 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 (49): * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00358/0.4117, allocations: 2.142 MB / 0.5605 GB, free: 8.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00282/0.4145, allocations: 1.749 MB / 0.5623 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4145, allocations: 1.25 kB / 0.5623 GB, free: 7.629 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.4162, allocations: 1.224 MB / 0.5635 GB, free: 6.598 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000883/0.417, allocations: 174.8 kB / 0.5636 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4335, allocations: 8.8 MB / 0.5722 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007689/0.4343, allocations: 0.9737 MB / 0.5732 GB, free: 14.47 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006425/0.4349, allocations: 208.8 kB / 0.5734 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.4353, allocations: 235.4 kB / 0.5736 GB, free: 14.04 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4353, allocations: 0 / 0.5736 GB, free: 14.04 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06709/0.5024, allocations: 20.11 MB / 0.5932 GB, free: 10.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.05, allocations: 6.406 kB / 0.5932 GB, free: 10.18 MB / 446.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_002_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.969966367818415] Failed to read output from testmodel.py, exit status != 0: 13.14712673984468 13.160383218 12.822895316 Calling exit ...