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.0009542/0.0009542, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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 0.9326/0.9326, allocations: 177.2 MB / 200.3 MB, free: 5.371 MB / 186.7 MB " [Timeout remaining time 179] 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.001545/0.001545, allocations: 175.7 kB / 257 MB, free: 12.82 MB / 250.7 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.02959/0.02959, allocations: 6.656 MB / 266.9 MB, free: 3.074 MB / 250.7 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: translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") translateModel(HanserModelica.Thermal.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 285.7 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.589e-05, allocations: 5.828 kB / 285.7 MB, free: 320 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.126/0.1261, allocations: 2.497 MB / 288.2 MB, free: 21.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.1272, allocations: 0.6049 MB / 288.8 MB, free: 20.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1273, allocations: 7.188 kB / 288.8 MB, free: 20.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1275, allocations: 33.84 kB / 288.8 MB, free: 20.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.1276, allocations: 76.31 kB / 288.9 MB, free: 20.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002334/0.1278, allocations: 54.3 kB / 288.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.1281, allocations: 264.6 kB / 289.2 MB, free: 20.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.1283, allocations: 56.33 kB / 289.3 MB, free: 20.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002021/0.1285, allocations: 141.6 kB / 289.4 MB, free: 20.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1286, allocations: 71.06 kB / 289.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.503e-05/0.1287, allocations: 17.94 kB / 289.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.04e-05/0.1287, allocations: 19.47 kB / 289.5 MB, free: 20.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.745e-05/0.1287, allocations: 48.66 kB / 289.6 MB, free: 20.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.303e-05/0.1288, allocations: 78.12 kB / 289.6 MB, free: 20.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.1291, allocations: 161.8 kB / 289.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1291, allocations: 0 / 289.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1291, allocations: 0 / 289.8 MB, free: 20.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1291, allocations: 1.188 kB / 289.8 MB, free: 20.21 MB / 266.7 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.00053/0.1296, allocations: 416.8 kB / 290.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1296, allocations: 9.219 kB / 290.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.1297, allocations: 33.23 kB / 290.2 MB, free: 19.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1299, allocations: 155.4 kB / 290.4 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1299, allocations: 15.66 kB / 290.4 MB, free: 19.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.1299, allocations: 18.09 kB / 290.4 MB, free: 19.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.1302, allocations: 185.3 kB / 290.6 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1302, allocations: 8.047 kB / 290.6 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.1302, allocations: 9.469 kB / 290.6 MB, free: 19.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1302, allocations: 17.84 kB / 290.6 MB, free: 19.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.433e-05/0.1303, allocations: 53.28 kB / 290.7 MB, free: 19.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.1309, allocations: 0.5085 MB / 291.2 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1311, allocations: 90.41 kB / 291.3 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.1311, allocations: 36.47 kB / 291.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1311, allocations: 6.625 kB / 291.3 MB, free: 19.13 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.1312, allocations: 103 kB / 291.4 MB, free: 19.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 2.524e-06/0.1313, allocations: 0 / 291.4 MB, free: 19.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003378/0.1316, allocations: 141.8 kB / 291.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.1316, allocations: 57.3 kB / 291.6 MB, free: 18.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.1317, allocations: 171.8 kB / 291.8 MB, free: 18.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1317, allocations: 28.41 kB / 291.8 MB, free: 18.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.1318, allocations: 135.3 kB / 292 MB, free: 18.64 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1318, allocations: 48.59 kB / 292 MB, free: 18.61 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.1318, allocations: 37.64 kB / 292 MB, free: 18.58 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.1319, allocations: 332.2 kB / 292.4 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.547e-05/0.1319, allocations: 14.12 kB / 292.4 MB, free: 18.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.1319, allocations: 51.22 kB / 292.4 MB, free: 18.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.415e-05/0.132, allocations: 89.09 kB / 292.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.132, allocations: 0 / 292.5 MB, free: 18.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001811/0.1322, allocations: 123.5 kB / 292.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1322, allocations: 6.219 kB / 292.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1322, allocations: 3.125 kB / 292.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.1324, allocations: 28.34 kB / 292.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1325, allocations: 36.47 kB / 292.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005913/0.1331, allocations: 1.214 MB / 293.9 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.1332, allocations: 18.12 kB / 293.9 MB, free: 16.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.1332, allocations: 6.094 kB / 293.9 MB, free: 16.9 MB / 266.7 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 6.227e-05/0.1332, allocations: 119.6 kB / 294.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.102e-05/0.1333, allocations: 17.11 kB / 294.1 MB, free: 16.78 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.436e-05/0.1333, allocations: 22.14 kB / 294.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1333, allocations: 2.094 kB / 294.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1333, allocations: 0 / 294.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1333, allocations: 1.734 kB / 294.1 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1334, allocations: 128.1 kB / 294.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1334, allocations: 0 / 294.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.1335, allocations: 34.41 kB / 294.3 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.965e-05/0.1336, allocations: 23.69 kB / 294.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.984e-06/0.1336, allocations: 5.406 kB / 294.3 MB, free: 16.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004633/0.1341, allocations: 1.218 MB / 295.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1341, allocations: 0 / 295.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.1343, allocations: 160.3 kB / 295.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/0.1343, allocations: 20.64 kB / 295.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.1343, allocations: 4.641 kB / 295.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.001e-05/0.1344, allocations: 11.48 kB / 295.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.1344, allocations: 11.64 kB / 295.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1344, allocations: 3.406 kB / 295.7 MB, free: 15.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.392e-05/0.1345, allocations: 50.89 kB / 295.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 2e-08/0.1345, allocations: 0.8438 kB / 295.8 MB, free: 15.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.1346, allocations: 57.33 kB / 295.8 MB, free: 15.32 MB / 266.7 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 8.177e-05/0.1347, allocations: 77.83 kB / 295.9 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1349, allocations: 191.2 kB / 296.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1349, allocations: 5.781 kB / 296.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.977e-05/0.135, allocations: 159.5 kB / 296.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.1352, allocations: 33.41 kB / 296.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006778/0.1359, allocations: 407.4 kB / 296.7 MB, free: 14.7 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.686e-05/0.1359, allocations: 75.98 kB / 296.7 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.526e-05/0.136, allocations: 14.66 kB / 296.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.1361, allocations: 78.77 kB / 296.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.022e-06/0.1361, allocations: 1.375 kB / 296.8 MB, free: 14.59 MB / 266.7 MB Notification: Performance of Templates: time 0.004979/0.141, allocations: 2.435 MB / 299.3 MB, free: 14.13 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Thermal.Coupling.makefile [Timeout 660] (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 & ./HanserModelica_HanserModelica.Thermal.Coupling -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5859673591330647]