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.001325/0.001325, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001548/0.001548, allocations: 211.4 kB / 23.01 MB, free: 4.992 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.484/1.484, 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.1093/0.1093, allocations: 24.04 MB / 337.2 MB, free: 11.34 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.00211/0.00211, allocations: 67.91 kB / 473.8 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3169, allocations: 59.57 MB / 0.5209 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003515/0.3204, allocations: 2.46 MB / 0.5233 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.322, allocations: 0.8113 MB / 0.5241 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001512/0.3222, allocations: 3.188 kB / 0.5241 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.3224, allocations: 48.75 kB / 0.5242 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.3228, allocations: 138.8 kB / 0.5243 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.3233, allocations: 132.7 kB / 0.5244 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.3239, allocations: 480 kB / 0.5249 GB, free: 7.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004982/0.3244, allocations: 281 kB / 0.5251 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.3248, allocations: 228 kB / 0.5254 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.3252, allocations: 281.1 kB / 0.5256 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.604e-05/0.3253, allocations: 50.06 kB / 0.5257 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.3255, allocations: 77 kB / 0.5257 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001729/0.3257, allocations: 156.6 kB / 0.5259 GB, free: 7.035 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.3259, allocations: 207.2 kB / 0.5261 GB, free: 6.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.3267, allocations: 0.5849 MB / 0.5267 GB, free: 6.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3267, allocations: 0 / 0.5267 GB, free: 6.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3267, allocations: 0 / 0.5267 GB, free: 6.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3267, allocations: 0 / 0.5267 GB, free: 6.715 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.001394/0.3281, allocations: 0.6592 MB / 0.5273 GB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3281, allocations: 14.67 kB / 0.5273 GB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.102e-05/0.3282, allocations: 68.95 kB / 0.5274 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.3283, allocations: 41.11 kB / 0.5274 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.3287, allocations: 278.2 kB / 0.5277 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.3287, allocations: 26 kB / 0.5277 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.379e-05/0.3288, allocations: 34.25 kB / 0.5277 GB, free: 5.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/0.3295, allocations: 418.9 kB / 0.5281 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3296, allocations: 5.156 kB / 0.5282 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.3296, allocations: 9.938 kB / 0.5282 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.3296, allocations: 8.562 kB / 0.5282 GB, free: 5.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008349/0.3304, allocations: 404.4 kB / 0.5286 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/0.3334, allocations: 1.172 MB / 0.5297 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006612/0.334, allocations: 283.7 kB / 0.53 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004175/0.3345, allocations: 201.8 kB / 0.5302 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.647e-05/0.3345, allocations: 2.719 kB / 0.5302 GB, free: 4.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.3345, allocations: 45.69 kB / 0.5302 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005612/0.3351, allocations: 79.19 kB / 0.5303 GB, free: 4.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.998e-06/0.3351, allocations: 0 / 0.5303 GB, free: 4.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.006202/0.3413, allocations: 1.536 MB / 0.5318 GB, free: 3.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3413, allocations: 59.73 kB / 0.5318 GB, free: 3.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.3419, allocations: 325 kB / 0.5322 GB, free: 3.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.892e-05/0.342, allocations: 32.95 kB / 0.5322 GB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3421, allocations: 204.5 kB / 0.5324 GB, free: 3.527 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.3423, allocations: 127.8 kB / 0.5325 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002164/0.3425, allocations: 84.94 kB / 0.5326 GB, free: 3.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3426, allocations: 351.8 kB / 0.5329 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.3431, allocations: 192.7 kB / 0.5331 GB, free: 2.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.3436, allocations: 249.4 kB / 0.5333 GB, free: 2.855 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.01018/0.3537, allocations: 1.804 MB / 0.5351 GB, free: 2.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3537, allocations: 1.062 kB / 0.5351 GB, free: 2.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00197/0.3557, allocations: 0.6409 MB / 0.5357 GB, free: 2.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.3557, allocations: 8.906 kB / 0.5357 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.3558, allocations: 5.469 kB / 0.5357 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.3572, allocations: 198.5 kB / 0.5359 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007304/0.3579, allocations: 109.6 kB / 0.536 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008976/0.3588, allocations: 1.178 MB / 0.5372 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.3594, allocations: 18.28 kB / 0.5372 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.3594, allocations: 17.5 kB / 0.5372 GB, free: 0.9844 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.0003235/0.3597, allocations: 168.1 kB / 0.5374 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3598, allocations: 32.31 kB / 0.5374 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001886/0.3617, allocations: 0.6529 MB / 0.538 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.3617, allocations: 4.531 kB / 0.5381 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.3617, allocations: 0 / 0.5381 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.3617, allocations: 7.156 kB / 0.5381 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/0.3644, allocations: 1.08 MB / 0.5391 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.3644, allocations: 0.6562 kB / 0.5391 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.365, allocations: 88.69 kB / 0.5392 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001093/0.3661, allocations: 170.8 kB / 0.5394 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/0.3662, allocations: 11.14 kB / 0.5394 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/0.3674, allocations: 1.163 MB / 0.5405 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.3674, allocations: 8.391 kB / 0.5405 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.3699, allocations: 0.8864 MB / 0.5414 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.3701, allocations: 37.83 kB / 0.5414 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.3702, allocations: 12.72 kB / 0.5414 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.3705, allocations: 16.23 kB / 0.5414 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.3706, allocations: 32 kB / 0.5415 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.3707, allocations: 16.89 kB / 0.5415 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003445/0.371, allocations: 229.6 kB / 0.5417 GB, free: 14.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.371, allocations: 4 kB / 0.5417 GB, free: 14.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.3716, allocations: 106.9 kB / 0.5418 GB, free: 14.09 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.002735/0.3743, allocations: 1.465 MB / 0.5432 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.376, allocations: 484.9 kB / 0.5437 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.376, allocations: 1.344 kB / 0.5437 GB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.3768, allocations: 266.3 kB / 0.544 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.3775, allocations: 86.28 kB / 0.544 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009546/0.387, allocations: 4.442 MB / 0.5484 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.3873, allocations: 206.3 kB / 0.5486 GB, free: 9.582 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004569/0.3877, allocations: 80.03 kB / 0.5487 GB, free: 9.547 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.3881, allocations: 145.2 kB / 0.5488 GB, free: 9.43 MB / 398.1 MB Notification: Performance of SimCode: time 1.763e-06/0.3881, allocations: 3.938 kB / 0.5488 GB, free: 9.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04726/0.4353, allocations: 11.45 MB / 0.56 GB, free: 2.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.5, allocations: 12.59 kB / 0.56 GB, free: 2.914 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.256339111365378] Failed to read output from testmodel.py, exit status != 0: 13.627286776900291 13.653867226000001 13.322531933 Calling exit ...