Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Network.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.002028/0.002028, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.7/1.7, allocations: 230.6 MB / 250.5 MB, free: 9.398 MB / 206.1 MB " [Timeout remaining time 178] 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.001676/0.001676, allocations: 211.3 kB / 306.7 MB, free: 4.348 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04223/0.04223, allocations: 8.913 MB / 371.7 MB, free: 3.484 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Network,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Network",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica 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.002468/0.002468, allocations: 83.88 kB / 496.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3888, allocations: 55.57 MB / 0.5391 GB, free: 26.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003702/0.3925, allocations: 1.744 MB / 0.5408 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003129/0.3928, allocations: 94.23 kB / 0.5408 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.3929, allocations: 3.281 kB / 0.5408 GB, free: 25.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.829e-05/0.3929, allocations: 21.39 kB / 0.5409 GB, free: 25.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.184e-05/0.393, allocations: 29.92 kB / 0.5409 GB, free: 25.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3932, allocations: 17.98 kB / 0.5409 GB, free: 25.28 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.3934, allocations: 116.8 kB / 0.541 GB, free: 25.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.3935, allocations: 37.5 kB / 0.5411 GB, free: 25.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.08e-05/0.3936, allocations: 42.41 kB / 0.5411 GB, free: 25.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3937, allocations: 45.69 kB / 0.5411 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.809e-05/0.3937, allocations: 13.12 kB / 0.5412 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.405e-05/0.3937, allocations: 9.062 kB / 0.5412 GB, free: 25.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/0.3938, allocations: 18.44 kB / 0.5412 GB, free: 25.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.878e-05/0.3938, allocations: 60.64 kB / 0.5412 GB, free: 25.11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.394, allocations: 108.3 kB / 0.5413 GB, free: 25.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.394, allocations: 3.516 kB / 0.5413 GB, free: 25.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.394, allocations: 0 / 0.5413 GB, free: 25.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.394, allocations: 0 / 0.5413 GB, free: 25.07 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0005269/0.3946, allocations: 394.2 kB / 0.5417 GB, free: 24.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.3946, allocations: 9.594 kB / 0.5417 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.389e-05/0.3947, allocations: 7.125 kB / 0.5417 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.3947, allocations: 41.33 kB / 0.5418 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.3947, allocations: 11.05 kB / 0.5418 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.3949, allocations: 175.3 kB / 0.542 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3949, allocations: 11.5 kB / 0.542 GB, free: 24.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.3949, allocations: 13.62 kB / 0.542 GB, free: 24.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.3951, allocations: 94.06 kB / 0.5421 GB, free: 24.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.3951, allocations: 11.92 kB / 0.5421 GB, free: 24.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3952, allocations: 7.219 kB / 0.5421 GB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.3952, allocations: 0 / 0.5421 GB, free: 24.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3953, allocations: 61.89 kB / 0.5421 GB, free: 24.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.396, allocations: 0.4933 MB / 0.5426 GB, free: 23.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.3963, allocations: 80.11 kB / 0.5427 GB, free: 23.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.124e-05/0.3964, allocations: 38.7 kB / 0.5427 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.3964, allocations: 0 / 0.5427 GB, free: 23.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.3964, allocations: 34.56 kB / 0.5428 GB, free: 23.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.3964, allocations: 3.219 kB / 0.5428 GB, free: 23.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000558/0.397, allocations: 225.5 kB / 0.543 GB, free: 23.58 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.397, allocations: 54.5 kB / 0.543 GB, free: 23.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.3971, allocations: 113.5 kB / 0.5432 GB, free: 23.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.3971, allocations: 29.7 kB / 0.5432 GB, free: 23.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.327e-05/0.3971, allocations: 102.7 kB / 0.5433 GB, free: 23.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.3972, allocations: 30.36 kB / 0.5433 GB, free: 23.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.3972, allocations: 24.03 kB / 0.5433 GB, free: 23.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.345e-05/0.3973, allocations: 317.3 kB / 0.5436 GB, free: 22.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3974, allocations: 21.03 kB / 0.5437 GB, free: 22.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.8e-05/0.3974, allocations: 33.7 kB / 0.5437 GB, free: 22.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.377e-05/0.3975, allocations: 60.05 kB / 0.5437 GB, free: 22.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3975, allocations: 3.406 kB / 0.5437 GB, free: 22.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002025/0.3977, allocations: 114 kB / 0.5439 GB, free: 22.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3977, allocations: 10.38 kB / 0.5439 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.3977, allocations: 0 / 0.5439 GB, free: 22.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001857/0.3979, allocations: 25.14 kB / 0.5439 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.398, allocations: 16.22 kB / 0.5439 GB, free: 22.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009574/0.399, allocations: 1.428 MB / 0.5453 GB, free: 21.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.399, allocations: 15.17 kB / 0.5453 GB, free: 21.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.399, allocations: 0 / 0.5453 GB, free: 21.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.3991, allocations: 123.9 kB / 0.5454 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.3991, allocations: 11.09 kB / 0.5454 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.3992, allocations: 12.38 kB / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3992, allocations: 2.938 kB / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3992, allocations: 0 / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3992, allocations: 0 / 0.5455 GB, free: 21.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.3994, allocations: 197.6 kB / 0.5456 GB, free: 20.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3994, allocations: 3.938 kB / 0.5456 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.787e-05/0.3994, allocations: 17.08 kB / 0.5457 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.899e-05/0.3995, allocations: 28.75 kB / 0.5457 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3995, allocations: 4 kB / 0.5457 GB, free: 20.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007743/0.4003, allocations: 1.41 MB / 0.5471 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4003, allocations: 7.062 kB / 0.5471 GB, free: 19.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.4005, allocations: 225.7 kB / 0.5473 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.4006, allocations: 88.28 kB / 0.5474 GB, free: 19.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.4006, allocations: 7.938 kB / 0.5474 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.4006, allocations: 3.25 kB / 0.5474 GB, free: 19.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.4007, allocations: 14.64 kB / 0.5474 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.4007, allocations: 0 / 0.5474 GB, free: 19.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.771e-05/0.4007, allocations: 96.23 kB / 0.5475 GB, free: 19.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4007, allocations: 0 / 0.5475 GB, free: 19.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.401, allocations: 28.97 kB / 0.5475 GB, free: 19.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * 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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005045/0.4015, allocations: 0.7519 MB / 0.5483 GB, free: 18.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003561/0.4019, allocations: 164.3 kB / 0.5484 GB, free: 18.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4019, allocations: 3.219 kB / 0.5484 GB, free: 18.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.402, allocations: 145 kB / 0.5486 GB, free: 18.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.4024, allocations: 23.14 kB / 0.5486 GB, free: 18.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.404, allocations: 1.581 MB / 0.5501 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4041, allocations: 0.6969 MB / 0.5508 GB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.4042, allocations: 4.266 kB / 0.5508 GB, free: 16.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.4042, allocations: 29.86 kB / 0.5508 GB, free: 16.03 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4042, allocations: 0 / 0.5508 GB, free: 16.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02764/0.4319, allocations: 2.479 MB / 0.5533 GB, free: 15.51 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 14.77 kB / 0.5533 GB, free: 15.5 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Thermal.Network.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Network.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Network.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Network.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Network_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Network.fmu > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.810000526020303] Failed to read output from testmodel.py, exit status != 0: 11.724917069019284 11.742272037 11.34325731 Calling exit ...