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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") translateModel(HanserModelica.Thermal.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Thermal.Network") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 105 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.1 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 192.5 kB / 290.4 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03455/0.03454, allocations: 8.794 MB / 349.3 MB, free: 4.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 83.8 kB / 464.6 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.102, allocations: 51.56 MB / 0.504 GB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.003144/0.1052, allocations: 1.73 MB / 0.5057 GB, free: 7.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00032/0.1055, allocations: 87.67 kB / 0.5058 GB, free: 7.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.339e-05/0.1056, allocations: 0 / 0.5058 GB, free: 7.656 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.112e-05/0.1057, allocations: 19.86 kB / 0.5058 GB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.62e-05/0.1058, allocations: 35.64 kB / 0.5059 GB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001609/0.1059, allocations: 23.97 kB / 0.5059 GB, free: 7.578 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1061, allocations: 115.4 kB / 0.506 GB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.1063, allocations: 51.95 kB / 0.506 GB, free: 7.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.1064, allocations: 35.88 kB / 0.5061 GB, free: 7.379 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.875e-05/0.1065, allocations: 43.84 kB / 0.5061 GB, free: 7.336 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.1065, allocations: 8 kB / 0.5061 GB, free: 7.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.24e-05/0.1066, allocations: 12 kB / 0.5061 GB, free: 7.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.1066, allocations: 19.91 kB / 0.5062 GB, free: 7.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.256e-05/0.1067, allocations: 55.73 kB / 0.5062 GB, free: 7.242 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1068, allocations: 107.7 kB / 0.5063 GB, free: 7.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1068, allocations: 4 kB / 0.5063 GB, free: 7.133 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1069, allocations: 0 / 0.5063 GB, free: 7.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.1069, allocations: 0 / 0.5063 GB, free: 7.133 MB / 350.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.0005291/0.1074, allocations: 395.2 kB / 0.5067 GB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1074, allocations: 12.02 kB / 0.5067 GB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.1075, allocations: 16.84 kB / 0.5067 GB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.1076, allocations: 180.2 kB / 0.5069 GB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1077, allocations: 4.375 kB / 0.5069 GB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.1077, allocations: 8.375 kB / 0.5069 GB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1079, allocations: 98.22 kB / 0.507 GB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1079, allocations: 192 / 0.507 GB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1079, allocations: 7.938 kB / 0.507 GB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1079, allocations: 4 kB / 0.507 GB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1081, allocations: 55.95 kB / 0.5071 GB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007376/0.1088, allocations: 0.4935 MB / 0.5075 GB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.1091, allocations: 90.5 kB / 0.5076 GB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.152e-05/0.1092, allocations: 36.84 kB / 0.5077 GB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1092, allocations: 7.938 kB / 0.5077 GB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1092, allocations: 30.56 kB / 0.5077 GB, free: 5.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1092, allocations: 0 / 0.5077 GB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.1098, allocations: 227.4 kB / 0.5079 GB, free: 5.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.1098, allocations: 51.41 kB / 0.508 GB, free: 5.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/0.1099, allocations: 117.8 kB / 0.5081 GB, free: 5.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1099, allocations: 25.7 kB / 0.5081 GB, free: 5.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.11, allocations: 103.9 kB / 0.5082 GB, free: 4.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.11, allocations: 35.69 kB / 0.5082 GB, free: 4.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.1101, allocations: 25.72 kB / 0.5083 GB, free: 4.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1102, allocations: 318.8 kB / 0.5086 GB, free: 4.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.754e-05/0.1102, allocations: 19.94 kB / 0.5086 GB, free: 4.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.39e-05/0.1103, allocations: 33.7 kB / 0.5086 GB, free: 4.508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1104, allocations: 57.72 kB / 0.5087 GB, free: 4.445 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1104, allocations: 0 / 0.5087 GB, free: 4.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002217/0.1106, allocations: 118.9 kB / 0.5088 GB, free: 4.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1107, allocations: 4.094 kB / 0.5088 GB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1107, allocations: 11.94 kB / 0.5088 GB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/0.1108, allocations: 24.84 kB / 0.5088 GB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.1109, allocations: 15.98 kB / 0.5088 GB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/0.1121, allocations: 1.422 MB / 0.5102 GB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.519e-05/0.1121, allocations: 8.031 kB / 0.5102 GB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1121, allocations: 0 / 0.5102 GB, free: 2.684 MB / 350.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 9.568e-05/0.1122, allocations: 125.8 kB / 0.5104 GB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.1123, allocations: 11.84 kB / 0.5104 GB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.1123, allocations: 16.38 kB / 0.5104 GB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1123, allocations: 3.938 kB / 0.5104 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1123, allocations: 0 / 0.5104 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1123, allocations: 0 / 0.5104 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1126, allocations: 197.6 kB / 0.5106 GB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1126, allocations: 0 / 0.5106 GB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.1127, allocations: 15.98 kB / 0.5106 GB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-05/0.1128, allocations: 32.78 kB / 0.5106 GB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.1128, allocations: 11.94 kB / 0.5106 GB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.1138, allocations: 1.414 MB / 0.512 GB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1138, allocations: 4 kB / 0.512 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1141, allocations: 224.3 kB / 0.5122 GB, free: 428 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1142, allocations: 85.02 kB / 0.5123 GB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1142, allocations: 0 / 0.5123 GB, free: 324 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.508e-05/0.1142, allocations: 12.05 kB / 0.5123 GB, free: 312 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.467e-05/0.1143, allocations: 8 kB / 0.5123 GB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.1143, allocations: 4 kB / 0.5123 GB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 5.237e-05/0.1144, allocations: 91.27 kB / 0.5124 GB, free: 208 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1144, allocations: 0 / 0.5124 GB, free: 208 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1146, allocations: 35.84 kB / 0.5125 GB, free: 172 kB / 350.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 9.721e-05/0.1147, allocations: 91.25 kB / 0.5126 GB, free: 72 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.1151, allocations: 174.9 kB / 0.5127 GB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1151, allocations: 0 / 0.5127 GB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.1152, allocations: 134.9 kB / 0.5128 GB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.1156, allocations: 20.47 kB / 0.5129 GB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.1162, allocations: 315.7 kB / 0.5132 GB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1165, allocations: 0.7041 MB / 0.5139 GB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1165, allocations: 11.44 kB / 0.5139 GB, free: 14.64 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1165, allocations: 0 / 0.5139 GB, free: 14.64 MB / 366.1 MB Notification: Performance of Templates: time 0.003464/0.12, allocations: 1.607 MB / 0.5154 GB, free: 13.04 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Thermal.Network.makefile (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 & ./HanserModelica_HanserModelica.Thermal.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Thermal.Network.pipe 2>&1)