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.0008867/0.0008867, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.9528/0.9528, allocations: 177.2 MB / 200.3 MB, free: 5.32 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.001189/0.001189, allocations: 171.1 kB / 257 MB, free: 12.78 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.027/0.027, allocations: 6.656 MB / 266.9 MB, free: 3.035 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.633e-06/1.633e-06, allocations: 0 / 285.6 MB, free: 340 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.319e-05, allocations: 6.25 kB / 285.6 MB, free: 332 kB / 266.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Coupling): time 0.1031/0.1031, allocations: 2.45 MB / 288.1 MB, free: 21.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.1041, allocations: 0.6174 MB / 288.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.1042, allocations: 3.969 kB / 288.7 MB, free: 20.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.1043, allocations: 33.55 kB / 288.7 MB, free: 20.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.1044, allocations: 72.05 kB / 288.8 MB, free: 20.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.1046, allocations: 54.52 kB / 288.9 MB, free: 20.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1048, allocations: 260.7 kB / 289.1 MB, free: 20.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.105, allocations: 59.81 kB / 289.2 MB, free: 20.44 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.1051, allocations: 141.8 kB / 289.3 MB, free: 20.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.1053, allocations: 74.72 kB / 289.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.1053, allocations: 17.44 kB / 289.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.1053, allocations: 20.22 kB / 289.4 MB, free: 20.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.1054, allocations: 45.36 kB / 289.5 MB, free: 20.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.765e-05/0.1055, allocations: 77.95 kB / 289.5 MB, free: 20.3 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002247/0.1057, allocations: 155.4 kB / 289.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1057, allocations: 2.75 kB / 289.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1057, allocations: 0 / 289.7 MB, free: 20.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1057, allocations: 0 / 289.7 MB, free: 20.23 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.0005846/0.1063, allocations: 420.6 kB / 290.1 MB, free: 19.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1063, allocations: 9.375 kB / 290.1 MB, free: 19.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.1064, allocations: 36.41 kB / 290.1 MB, free: 19.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1066, allocations: 152.4 kB / 290.3 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1066, allocations: 11.16 kB / 290.3 MB, free: 19.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.1067, allocations: 24.89 kB / 290.3 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1069, allocations: 196.7 kB / 290.5 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1069, allocations: 4.141 kB / 290.5 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1069, allocations: 6.656 kB / 290.5 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.107, allocations: 8.812 kB / 290.5 MB, free: 19.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1071, allocations: 56.44 kB / 290.6 MB, free: 19.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006966/0.1078, allocations: 0.5158 MB / 291.1 MB, free: 19.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1079, allocations: 87.38 kB / 291.2 MB, free: 19.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.108, allocations: 29.42 kB / 291.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.101e-05/0.108, allocations: 3.406 kB / 291.2 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/0.1081, allocations: 107.4 kB / 291.3 MB, free: 19.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/0.1081, allocations: 1.719 kB / 291.3 MB, free: 19.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003525/0.1084, allocations: 139.8 kB / 291.5 MB, free: 19.01 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.1085, allocations: 58.16 kB / 291.5 MB, free: 18.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.915e-05/0.1086, allocations: 168.1 kB / 291.7 MB, free: 18.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.1086, allocations: 30.83 kB / 291.7 MB, free: 18.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.1086, allocations: 135.9 kB / 291.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1087, allocations: 53.67 kB / 291.9 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1087, allocations: 38.39 kB / 291.9 MB, free: 18.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.1087, allocations: 327 kB / 292.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.454e-05/0.1088, allocations: 13 kB / 292.3 MB, free: 18.27 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.983e-05/0.1088, allocations: 51.52 kB / 292.3 MB, free: 18.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.401e-05/0.1089, allocations: 91.56 kB / 292.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1089, allocations: 0 / 292.4 MB, free: 18.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001658/0.1091, allocations: 126.9 kB / 292.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1091, allocations: 5.406 kB / 292.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1091, allocations: 1.25 kB / 292.5 MB, free: 18.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001562/0.1092, allocations: 27.41 kB / 292.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.392e-05/0.1093, allocations: 31.06 kB / 292.6 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005156/0.1098, allocations: 1.213 MB / 293.8 MB, free: 16.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.743e-05/0.1099, allocations: 14.02 kB / 293.8 MB, free: 16.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1099, allocations: 8.469 kB / 293.8 MB, free: 16.91 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 7.909e-05/0.11, allocations: 124.1 kB / 294 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.11, allocations: 13.45 kB / 294 MB, free: 16.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.504e-05/0.11, allocations: 22.64 kB / 294 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.11, allocations: 5.875 kB / 294 MB, free: 16.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.11, allocations: 5.062 kB / 294 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.11, allocations: 2.344 kB / 294 MB, free: 16.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.1101, allocations: 119.4 kB / 294.1 MB, free: 16.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1101, allocations: 4.875 kB / 294.1 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.1102, allocations: 17.8 kB / 294.2 MB, free: 16.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.767e-05/0.1103, allocations: 27.52 kB / 294.2 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.1103, allocations: 4.562 kB / 294.2 MB, free: 16.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003952/0.1107, allocations: 1.214 MB / 295.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1107, allocations: 1.531 kB / 295.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.1108, allocations: 159.8 kB / 295.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.1109, allocations: 20.12 kB / 295.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.1109, allocations: 6.375 kB / 295.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.342e-05/0.1109, allocations: 11.77 kB / 295.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.111, allocations: 16.41 kB / 295.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.111, allocations: 2.656 kB / 295.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.47e-05/0.111, allocations: 48.8 kB / 295.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.111, allocations: 0 / 295.7 MB, free: 15.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001653/0.1112, allocations: 59.39 kB / 295.7 MB, free: 15.33 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 7.298e-05/0.1113, allocations: 78.84 kB / 295.8 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1115, allocations: 193.2 kB / 296 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1115, allocations: 1.031 kB / 296 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/0.1116, allocations: 160.7 kB / 296.1 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1117, allocations: 33.77 kB / 296.2 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.1123, allocations: 404.6 kB / 296.6 MB, free: 14.72 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.035e-05/0.1123, allocations: 79.23 kB / 296.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.575e-05/0.1124, allocations: 15.17 kB / 296.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.558e-05/0.1125, allocations: 76.67 kB / 296.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1125, allocations: 1.125 kB / 296.7 MB, free: 14.6 MB / 266.7 MB Notification: Performance of Templates: time 0.004552/0.117, allocations: 2.338 MB / 299.1 MB, free: 14.19 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 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Coupling.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5523828621953726]