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.001486/0.001486, allocations: 113.8 kB / 19.73 MB, free: 2.242 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.701/1.701, allocations: 230.6 MB / 253.4 MB, free: 14.65 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.001826/0.001826, allocations: 214.6 kB / 310 MB, free: 3.039 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.04185/0.04185, allocations: 8.918 MB / 375.4 MB, free: 6.805 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.002601/0.002601, allocations: 83.88 kB / 0.49 GB, free: 44.95 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1251, allocations: 55.62 MB / 0.5443 GB, free: 5.242 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.004701/0.1298, allocations: 2.478 MB / 0.5467 GB, free: 2.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1311, allocations: 0.6154 MB / 0.5473 GB, free: 2.125 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1312, allocations: 4 kB / 0.5473 GB, free: 2.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1314, allocations: 39.58 kB / 0.5473 GB, free: 2.082 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001941/0.1316, allocations: 71.41 kB / 0.5474 GB, free: 2.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1319, allocations: 59.86 kB / 0.5475 GB, free: 1.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00037/0.1323, allocations: 242.8 kB / 0.5477 GB, free: 1.715 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.1325, allocations: 56.58 kB / 0.5477 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1326, allocations: 95.64 kB / 0.5478 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.1328, allocations: 103.5 kB / 0.5479 GB, free: 1.465 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.943e-05/0.1329, allocations: 16 kB / 0.5479 GB, free: 1.449 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.766e-05/0.1329, allocations: 20 kB / 0.548 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.133, allocations: 47.78 kB / 0.548 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1331, allocations: 111.5 kB / 0.5481 GB, free: 1.273 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.1335, allocations: 231 kB / 0.5483 GB, free: 1.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1335, allocations: 0 / 0.5483 GB, free: 1.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1335, allocations: 0 / 0.5483 GB, free: 1.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1335, allocations: 0 / 0.5483 GB, free: 1.047 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.0009085/0.1344, allocations: 441.2 kB / 0.5488 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1344, allocations: 15.98 kB / 0.5488 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.253e-05/0.1345, allocations: 8.188 kB / 0.5488 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.118e-05/0.1345, allocations: 54.67 kB / 0.5488 GB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.009e-05/0.1346, allocations: 24.8 kB / 0.5489 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004304/0.135, allocations: 178.2 kB / 0.549 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.1351, allocations: 20.36 kB / 0.549 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.1351, allocations: 16.38 kB / 0.5491 GB, free: 248 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.1355, allocations: 187.2 kB / 0.5492 GB, free: 48 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.1355, allocations: 4 kB / 0.5492 GB, free: 44 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.1355, allocations: 4 kB / 0.5492 GB, free: 40 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.1355, allocations: 4 kB / 0.5492 GB, free: 36 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002883/0.1358, allocations: 120 kB / 0.5494 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.1372, allocations: 0.7082 MB / 0.5501 GB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.1375, allocations: 118.8 kB / 0.5502 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1376, allocations: 48.78 kB / 0.5502 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.1376, allocations: 0 / 0.5502 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002101/0.1379, allocations: 97.77 kB / 0.5503 GB, free: 14.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.1379, allocations: 0 / 0.5503 GB, free: 14.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007197/0.1386, allocations: 214.2 kB / 0.5505 GB, free: 14.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/0.1386, allocations: 55.41 kB / 0.5506 GB, free: 14.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1388, allocations: 191.2 kB / 0.5507 GB, free: 14.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.1389, allocations: 29.7 kB / 0.5508 GB, free: 14.35 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.139, allocations: 140.3 kB / 0.5509 GB, free: 14.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.957e-05/0.139, allocations: 51.53 kB / 0.551 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.1391, allocations: 37.7 kB / 0.551 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.1393, allocations: 330.8 kB / 0.5513 GB, free: 13.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.157e-05/0.1393, allocations: 31.98 kB / 0.5513 GB, free: 13.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1394, allocations: 74.86 kB / 0.5514 GB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.1396, allocations: 111.2 kB / 0.5515 GB, free: 13.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1396, allocations: 0 / 0.5515 GB, free: 13.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003415/0.14, allocations: 190.1 kB / 0.5517 GB, free: 13.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.14, allocations: 4 kB / 0.5517 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.14, allocations: 7.938 kB / 0.5517 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.1402, allocations: 32.83 kB / 0.5517 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1403, allocations: 27.98 kB / 0.5518 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.1417, allocations: 1.37 MB / 0.5531 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1418, allocations: 19.88 kB / 0.5531 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1418, allocations: 4 kB / 0.5531 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.000142/0.142, allocations: 137.8 kB / 0.5533 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.142, allocations: 19.84 kB / 0.5533 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.516e-05/0.1421, allocations: 21.45 kB / 0.5533 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1421, allocations: 0 / 0.5533 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1421, allocations: 0 / 0.5533 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1421, allocations: 0 / 0.5533 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002686/0.1423, allocations: 236.5 kB / 0.5535 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.1423, allocations: 3.938 kB / 0.5535 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1424, allocations: 16 kB / 0.5535 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.1426, allocations: 40.83 kB / 0.5536 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1426, allocations: 0 / 0.5536 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.1438, allocations: 1.366 MB / 0.5549 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1438, allocations: 0 / 0.5549 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.1442, allocations: 236.2 kB / 0.5551 GB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.1443, allocations: 31.8 kB / 0.5552 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1443, allocations: 4.125 kB / 0.5552 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.1444, allocations: 19.98 kB / 0.5552 GB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.1445, allocations: 11.97 kB / 0.5552 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1445, allocations: 4 kB / 0.5552 GB, free: 9.445 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1447, allocations: 141.2 kB / 0.5553 GB, free: 9.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1447, allocations: 0 / 0.5553 GB, free: 9.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1449, allocations: 47.95 kB / 0.5554 GB, free: 9.262 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.000735/0.1457, allocations: 0.777 MB / 0.5562 GB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1461, allocations: 210.5 kB / 0.5564 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1461, allocations: 0 / 0.5564 GB, free: 8.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.1463, allocations: 177.2 kB / 0.5565 GB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.1466, allocations: 35.92 kB / 0.5566 GB, free: 8.016 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.1493, allocations: 2.077 MB / 0.5586 GB, free: 5.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.1497, allocations: 0.7359 MB / 0.5593 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.446e-05/0.1497, allocations: 13.48 kB / 0.5593 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.009e-05/0.1498, allocations: 55.42 kB / 0.5594 GB, free: 4.988 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1498, allocations: 0 / 0.5594 GB, free: 4.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.1833, allocations: 4.458 MB / 0.5637 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.93, allocations: 0 / 0.5637 GB, free: 0.6797 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.576756472000852] Failed to read output from testmodel.py, exit status != 0: 13.455633334000595 13.473506607000001 13.336638163 Calling exit ...