Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Thermal.Coupling.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.001701/0.001701, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 14.29 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.001574/0.001574, allocations: 213 kB / 310 MB, free: 3.129 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.04178/0.04178, allocations: 8.922 MB / 375.4 MB, free: 6.578 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.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Thermal.Coupling,fileNamePrefix="HanserModelica_HanserModelica_Thermal_Coupling",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.002521/0.002521, allocations: 79.88 kB / 0.4899 GB, free: 44.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08967, allocations: 55.6 MB / 0.5442 GB, free: 5.055 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.003641/0.09331, allocations: 2.325 MB / 0.5465 GB, free: 2.715 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.09436, allocations: 0.5804 MB / 0.547 GB, free: 2.129 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.09446, allocations: 4 kB / 0.547 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.09459, allocations: 35.64 kB / 0.5471 GB, free: 2.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.09473, allocations: 67.41 kB / 0.5471 GB, free: 2.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.09493, allocations: 59.86 kB / 0.5472 GB, free: 1.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.09521, allocations: 246.7 kB / 0.5474 GB, free: 1.723 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.09537, allocations: 60.55 kB / 0.5475 GB, free: 1.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.09548, allocations: 95.66 kB / 0.5476 GB, free: 1.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.09563, allocations: 99.55 kB / 0.5477 GB, free: 1.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.669e-05/0.09567, allocations: 16 kB / 0.5477 GB, free: 1.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.09571, allocations: 23.94 kB / 0.5477 GB, free: 1.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.017e-05/0.09576, allocations: 43.84 kB / 0.5477 GB, free: 1.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.09586, allocations: 91.59 kB / 0.5478 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002696/0.09613, allocations: 231 kB / 0.5481 GB, free: 1.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.09614, allocations: 0 / 0.5481 GB, free: 1.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.09614, allocations: 4 kB / 0.5481 GB, free: 1.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09615, allocations: 0 / 0.5481 GB, free: 1.07 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007334/0.09688, allocations: 438.7 kB / 0.5485 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.09692, allocations: 15.98 kB / 0.5485 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.133e-05/0.09694, allocations: 4.188 kB / 0.5485 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.052e-05/0.09699, allocations: 54.73 kB / 0.5485 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.09704, allocations: 24.8 kB / 0.5486 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.09734, allocations: 186.1 kB / 0.5488 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.09735, allocations: 8.375 kB / 0.5488 GB, free: 300 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.09739, allocations: 16.38 kB / 0.5488 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.09773, allocations: 220.9 kB / 0.549 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.09775, allocations: 0 / 0.549 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.09777, allocations: 8 kB / 0.549 GB, free: 36 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.09778, allocations: 7.938 kB / 0.549 GB, free: 28 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002429/0.09802, allocations: 119.9 kB / 0.5491 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.09909, allocations: 0.6654 MB / 0.5498 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.09937, allocations: 122.8 kB / 0.5499 GB, free: 15.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.487e-05/0.09946, allocations: 48.84 kB / 0.5499 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.09948, allocations: 7.938 kB / 0.5499 GB, free: 15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.09966, allocations: 121 kB / 0.5501 GB, free: 14.86 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.09966, allocations: 0 / 0.5501 GB, free: 14.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006136/0.1003, allocations: 216.5 kB / 0.5503 GB, free: 14.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1003, allocations: 55.41 kB / 0.5503 GB, free: 14.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1005, allocations: 191.1 kB / 0.5505 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1005, allocations: 29.7 kB / 0.5505 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.434e-05/0.1006, allocations: 136.4 kB / 0.5507 GB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.807e-05/0.1007, allocations: 51.53 kB / 0.5507 GB, free: 14.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.1007, allocations: 33.72 kB / 0.5507 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1009, allocations: 330.8 kB / 0.551 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.1009, allocations: 39.92 kB / 0.5511 GB, free: 13.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.851e-05/0.101, allocations: 68.28 kB / 0.5512 GB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1012, allocations: 112.2 kB / 0.5513 GB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1012, allocations: 0 / 0.5513 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003359/0.1015, allocations: 188.1 kB / 0.5514 GB, free: 13.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1015, allocations: 4 kB / 0.5514 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1016, allocations: 0 / 0.5514 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001886/0.1017, allocations: 40.95 kB / 0.5515 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1019, allocations: 24 kB / 0.5515 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/0.1031, allocations: 1.358 MB / 0.5528 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1032, allocations: 27.91 kB / 0.5529 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1032, allocations: 4 kB / 0.5529 GB, free: 11.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,switch.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1033, allocations: 134.7 kB / 0.553 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.1034, allocations: 23.83 kB / 0.553 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.1034, allocations: 25.45 kB / 0.553 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1034, allocations: 4 kB / 0.553 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1034, allocations: 0 / 0.553 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1034, allocations: 0 / 0.553 GB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002386/0.1037, allocations: 216.6 kB / 0.5532 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1037, allocations: 3.938 kB / 0.5532 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1038, allocations: 16 kB / 0.5533 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.1039, allocations: 32.83 kB / 0.5533 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1039, allocations: 0 / 0.5533 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001139/0.1051, allocations: 1.366 MB / 0.5546 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1051, allocations: 0 / 0.5546 GB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004176/0.1055, allocations: 237.7 kB / 0.5549 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.1055, allocations: 35.78 kB / 0.5549 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1056, allocations: 0 / 0.5549 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.1057, allocations: 11.98 kB / 0.5549 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.101e-05/0.1057, allocations: 20.09 kB / 0.5549 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1057, allocations: 4 kB / 0.5549 GB, free: 9.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1058, allocations: 133.2 kB / 0.5551 GB, free: 9.336 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1058, allocations: 0 / 0.5551 GB, free: 9.336 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1061, allocations: 55.89 kB / 0.5551 GB, free: 9.281 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: 3 ($whenCondition1,switch.control,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006903/0.1068, allocations: 0.7722 MB / 0.5559 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003834/0.1072, allocations: 218.7 kB / 0.5561 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1072, allocations: 0 / 0.5561 GB, free: 8.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.1074, allocations: 170.5 kB / 0.5562 GB, free: 8.074 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.1077, allocations: 37.86 kB / 0.5563 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002655/0.1103, allocations: 2.08 MB / 0.5583 GB, free: 5.844 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.1105, allocations: 128.9 kB / 0.5584 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.045e-05/0.1105, allocations: 13.48 kB / 0.5584 GB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.1106, allocations: 55.42 kB / 0.5585 GB, free: 5.629 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1106, allocations: 0 / 0.5585 GB, free: 5.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03011/0.1407, allocations: 4.654 MB / 0.563 GB, free: 1.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.7, allocations: 12.16 kB / 0.563 GB, free: 1.137 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Thermal.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Thermal.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Thermal.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Thermal.Coupling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Thermal_Coupling_fmu --startTime=0 --stopTime=400 --stepSize=0.1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Thermal_Coupling.fmu > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.705852512037382] Failed to read output from testmodel.py, exit status != 0: 12.046954909921624 12.071058925 11.970230167 Calling exit ...