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.001332/0.001332, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.457/1.457, allocations: 230.6 MB / 253.5 MB, free: 14.49 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.00171/0.00171, allocations: 215.7 kB / 310 MB, free: 2.984 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.042/0.042, allocations: 8.923 MB / 375.4 MB, free: 6.602 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.002534/0.002534, allocations: 83.88 kB / 0.4899 GB, free: 44.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0775/0.08004, allocations: 55.61 MB / 0.5442 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003205/0.08324, allocations: 1.692 MB / 0.5458 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003778/0.08362, allocations: 95.66 kB / 0.5459 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.0837, allocations: 4 kB / 0.5459 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.063e-05/0.08377, allocations: 19.86 kB / 0.546 GB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.08387, allocations: 35.64 kB / 0.546 GB, free: 3.211 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.08402, allocations: 19.97 kB / 0.546 GB, free: 3.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.08418, allocations: 115.4 kB / 0.5461 GB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.08433, allocations: 44.19 kB / 0.5462 GB, free: 3.035 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.566e-05/0.0844, allocations: 39.92 kB / 0.5462 GB, free: 2.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.974e-05/0.0845, allocations: 43.78 kB / 0.5462 GB, free: 2.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.08453, allocations: 12 kB / 0.5463 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.687e-05/0.08455, allocations: 8 kB / 0.5463 GB, free: 2.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.08458, allocations: 19.94 kB / 0.5463 GB, free: 2.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.08464, allocations: 43.86 kB / 0.5463 GB, free: 2.871 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.08481, allocations: 119.5 kB / 0.5464 GB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.08482, allocations: 0 / 0.5464 GB, free: 2.754 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.08482, allocations: 0 / 0.5464 GB, free: 2.754 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.08482, allocations: 0 / 0.5464 GB, free: 2.754 MB / 366.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.0005027/0.08533, allocations: 314 kB / 0.5467 GB, free: 2.414 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.08537, allocations: 11.98 kB / 0.5467 GB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.208e-05/0.08539, allocations: 4.188 kB / 0.5468 GB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.08543, allocations: 38.75 kB / 0.5468 GB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.08547, allocations: 16.89 kB / 0.5468 GB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.08559, allocations: 122.4 kB / 0.5469 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.08561, allocations: 8.375 kB / 0.5469 GB, free: 2.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.08564, allocations: 12.38 kB / 0.5469 GB, free: 2.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.08584, allocations: 85.98 kB / 0.547 GB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.08586, allocations: 3.984 kB / 0.547 GB, free: 2.078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.08587, allocations: 8 kB / 0.547 GB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.08588, allocations: 3.938 kB / 0.547 GB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.08601, allocations: 59.03 kB / 0.5471 GB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007188/0.08673, allocations: 383.4 kB / 0.5475 GB, free: 1.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.08697, allocations: 74.55 kB / 0.5475 GB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.019e-05/0.08704, allocations: 40.78 kB / 0.5476 GB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.08705, allocations: 4 kB / 0.5476 GB, free: 1.465 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.08708, allocations: 34.66 kB / 0.5476 GB, free: 1.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.08708, allocations: 3.938 kB / 0.5476 GB, free: 1.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005526/0.08763, allocations: 146.4 kB / 0.5477 GB, free: 1.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.08768, allocations: 51.41 kB / 0.5478 GB, free: 1.203 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.08779, allocations: 125.8 kB / 0.5479 GB, free: 1.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.08781, allocations: 25.7 kB / 0.5479 GB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.08789, allocations: 108 kB / 0.548 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.08792, allocations: 27.75 kB / 0.5481 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.08796, allocations: 21.7 kB / 0.5481 GB, free: 0.875 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.0881, allocations: 318.8 kB / 0.5484 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.08814, allocations: 19.98 kB / 0.5484 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.08819, allocations: 29.72 kB / 0.5484 GB, free: 0.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.0883, allocations: 69.58 kB / 0.5485 GB, free: 436 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.0883, allocations: 4 kB / 0.5485 GB, free: 432 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000214/0.08851, allocations: 107 kB / 0.5486 GB, free: 316 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.08853, allocations: 8 kB / 0.5486 GB, free: 308 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.08854, allocations: 0 / 0.5486 GB, free: 308 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/0.08874, allocations: 24.94 kB / 0.5486 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.785e-05/0.08882, allocations: 19.88 kB / 0.5487 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.09003, allocations: 1.315 MB / 0.55 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.09007, allocations: 11.97 kB / 0.55 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.09008, allocations: 4 kB / 0.55 GB, free: 14.8 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.0001018/0.09019, allocations: 121.8 kB / 0.5501 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.09022, allocations: 7.938 kB / 0.5501 GB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.09024, allocations: 8.375 kB / 0.5501 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.09024, allocations: 0 / 0.5501 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-06/0.09025, allocations: 4.062 kB / 0.5501 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.09025, allocations: 4 kB / 0.5501 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.09046, allocations: 172.6 kB / 0.5503 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.09047, allocations: 3.938 kB / 0.5503 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.09055, allocations: 12 kB / 0.5503 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.896e-05/0.09065, allocations: 24.84 kB / 0.5503 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.09066, allocations: 0 / 0.5503 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.09173, allocations: 1.319 MB / 0.5516 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.09173, allocations: 0 / 0.5516 GB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.09203, allocations: 232.5 kB / 0.5518 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.09205, allocations: 7.984 kB / 0.5518 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.09206, allocations: 7.938 kB / 0.5518 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.09213, allocations: 0 / 0.5518 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.208e-05/0.09215, allocations: 7.984 kB / 0.5518 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.09215, allocations: 0 / 0.5518 GB, free: 12.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.972e-05/0.09221, allocations: 91.27 kB / 0.5519 GB, free: 12.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09221, allocations: 0 / 0.5519 GB, free: 12.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002636/0.09248, allocations: 36.06 kB / 0.552 GB, free: 12.57 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.0005789/0.09306, allocations: 0.7561 MB / 0.5527 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.09335, allocations: 170.8 kB / 0.5529 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09335, allocations: 0 / 0.5529 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.0935, allocations: 150.6 kB / 0.553 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.09383, allocations: 21.2 kB / 0.553 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.09564, allocations: 1.568 MB / 0.5546 GB, free: 9.766 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.907e-05/0.09573, allocations: 83.31 kB / 0.5546 GB, free: 9.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.91e-05/0.09576, allocations: 4.672 kB / 0.5546 GB, free: 9.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.09581, allocations: 23.42 kB / 0.5547 GB, free: 9.637 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.09581, allocations: 4 kB / 0.5547 GB, free: 9.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.1278, allocations: 2.708 MB / 0.5573 GB, free: 7.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.58, allocations: 4.062 kB / 0.5573 GB, free: 7.07 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.510766673018225] Failed to read output from testmodel.py, exit status != 0: 11.742243716027588 11.934854947 11.847522646 Calling exit ...