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.00117/0.00117, allocations: 111.6 kB / 16.42 MB, free: 6.469 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.372/1.372, allocations: 222.9 MB / 240.1 MB, free: 4.531 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.001376/0.001376, allocations: 196.4 kB / 290.4 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03535/0.03535, allocations: 8.796 MB / 349.3 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 75.88 kB / 464.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09131/0.09284, allocations: 51.56 MB / 0.504 GB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002768/0.09563, allocations: 1.726 MB / 0.5057 GB, free: 7.785 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003334/0.09599, allocations: 99.61 kB / 0.5058 GB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.23e-05/0.09608, allocations: 4 kB / 0.5058 GB, free: 7.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.543e-05/0.09617, allocations: 11.86 kB / 0.5058 GB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.578e-05/0.09627, allocations: 31.7 kB / 0.5059 GB, free: 7.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.09642, allocations: 27.91 kB / 0.5059 GB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.09657, allocations: 115.4 kB / 0.506 GB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.09673, allocations: 47.94 kB / 0.506 GB, free: 7.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.0968, allocations: 47.86 kB / 0.5061 GB, free: 7.406 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.0969, allocations: 43.84 kB / 0.5061 GB, free: 7.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.09693, allocations: 8 kB / 0.5061 GB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.255e-05/0.09696, allocations: 8 kB / 0.5061 GB, free: 7.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.09699, allocations: 19.94 kB / 0.5062 GB, free: 7.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.672e-05/0.09706, allocations: 51.8 kB / 0.5062 GB, free: 7.277 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.0972, allocations: 119.6 kB / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.09721, allocations: 0 / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.09722, allocations: 0 / 0.5063 GB, free: 7.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.09723, allocations: 0 / 0.5063 GB, free: 7.16 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.0004639/0.0977, allocations: 399.2 kB / 0.5067 GB, free: 6.719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.09775, allocations: 12.03 kB / 0.5067 GB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.09779, allocations: 8.844 kB / 0.5067 GB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.09791, allocations: 176.2 kB / 0.5069 GB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.09793, allocations: 8.375 kB / 0.5069 GB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.09796, allocations: 4.375 kB / 0.5069 GB, free: 6.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.09814, allocations: 94.22 kB / 0.507 GB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.09816, allocations: 192 / 0.507 GB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.09818, allocations: 11.94 kB / 0.507 GB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.09819, allocations: 4 kB / 0.507 GB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.09832, allocations: 55.97 kB / 0.5071 GB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00071/0.09903, allocations: 0.4896 MB / 0.5075 GB, free: 5.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.09927, allocations: 86.48 kB / 0.5076 GB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.318e-05/0.09934, allocations: 44.94 kB / 0.5077 GB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.09936, allocations: 4 kB / 0.5077 GB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.09939, allocations: 34.55 kB / 0.5077 GB, free: 5.562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.0994, allocations: 0 / 0.5077 GB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005059/0.09991, allocations: 223.4 kB / 0.5079 GB, free: 5.316 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.09995, allocations: 55.41 kB / 0.508 GB, free: 5.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.1, allocations: 117.8 kB / 0.5081 GB, free: 5.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.1001, allocations: 25.7 kB / 0.5081 GB, free: 5.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.1001, allocations: 107.9 kB / 0.5082 GB, free: 4.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1001, allocations: 31.55 kB / 0.5082 GB, free: 4.953 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1002, allocations: 21.72 kB / 0.5083 GB, free: 4.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1003, allocations: 318.8 kB / 0.5086 GB, free: 4.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.807e-05/0.1003, allocations: 16 kB / 0.5086 GB, free: 4.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.077e-05/0.1004, allocations: 41.64 kB / 0.5086 GB, free: 4.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.262e-05/0.1005, allocations: 61.72 kB / 0.5087 GB, free: 4.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1005, allocations: 0 / 0.5087 GB, free: 4.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002147/0.1007, allocations: 114.9 kB / 0.5088 GB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1007, allocations: 5.562 kB / 0.5088 GB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1007, allocations: 0 / 0.5088 GB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/0.1009, allocations: 28.88 kB / 0.5088 GB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.101, allocations: 19.98 kB / 0.5088 GB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1022, allocations: 1.426 MB / 0.5102 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.078e-05/0.1022, allocations: 96 / 0.5102 GB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1022, allocations: 7.938 kB / 0.5102 GB, free: 2.719 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 8.64e-05/0.1023, allocations: 125.7 kB / 0.5104 GB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1024, allocations: 11.84 kB / 0.5104 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.133e-05/0.1024, allocations: 12.44 kB / 0.5104 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.1024, allocations: 0 / 0.5104 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1024, allocations: 3.984 kB / 0.5104 GB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.1025, allocations: 88.95 kB / 0.5105 GB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1025, allocations: 0 / 0.5105 GB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.579e-05/0.1026, allocations: 4 kB / 0.5105 GB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.1026, allocations: 7.984 kB / 0.5105 GB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000327/0.1029, allocations: 202 kB / 0.5107 GB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002163/0.1031, allocations: 282.6 kB / 0.511 GB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.634e-05/0.1032, allocations: 27.97 kB / 0.511 GB, free: 1.918 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.079e-05/0.1033, allocations: 91.27 kB / 0.5111 GB, free: 1.828 MB / 350.1 MB Notification: Performance of Backend: time 3.9e-07/0.1033, allocations: 0 / 0.5111 GB, free: 1.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004885/0.1038, allocations: 229.1 kB / 0.5113 GB, free: 1.582 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007161/0.1045, allocations: 0.7378 MB / 0.512 GB, free: 0.7891 MB / 350.1 MB Notification: Performance of Templates: time 0.003495/0.108, allocations: 1.082 MB / 0.5131 GB, free: 15.71 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)