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.001537/0.001537, allocations: 110 kB / 16.42 MB, free: 6.512 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.387/1.387, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001375/0.001375, allocations: 192.5 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03527/0.03527, allocations: 8.807 MB / 349.3 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 79.88 kB / 464.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08324/0.0847, allocations: 51.57 MB / 0.504 GB, free: 9.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.00291/0.08765, allocations: 1.722 MB / 0.5057 GB, free: 7.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.08799, allocations: 99.61 kB / 0.5058 GB, free: 7.629 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.08806, allocations: 0 / 0.5058 GB, free: 7.629 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.719e-05/0.08813, allocations: 15.86 kB / 0.5058 GB, free: 7.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.863e-05/0.08822, allocations: 31.7 kB / 0.5059 GB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.08838, allocations: 23.97 kB / 0.5059 GB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.08852, allocations: 111.4 kB / 0.506 GB, free: 7.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.08867, allocations: 51.94 kB / 0.506 GB, free: 7.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.383e-05/0.08873, allocations: 39.86 kB / 0.5061 GB, free: 7.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.08883, allocations: 51.78 kB / 0.5061 GB, free: 7.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.08885, allocations: 12 kB / 0.5061 GB, free: 7.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.202e-05/0.08888, allocations: 8 kB / 0.5062 GB, free: 7.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.08896, allocations: 19.94 kB / 0.5062 GB, free: 7.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.874e-05/0.08902, allocations: 55.72 kB / 0.5062 GB, free: 7.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.08917, allocations: 107.7 kB / 0.5063 GB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.08918, allocations: 0 / 0.5063 GB, free: 7.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08918, allocations: 0 / 0.5063 GB, free: 7.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.08919, allocations: 4 kB / 0.5063 GB, free: 7.105 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.0004657/0.08966, allocations: 399.2 kB / 0.5067 GB, free: 6.664 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.08971, allocations: 8.031 kB / 0.5067 GB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.789e-05/0.08975, allocations: 12.84 kB / 0.5067 GB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.08988, allocations: 176.2 kB / 0.5069 GB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.0899, allocations: 8.312 kB / 0.5069 GB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.08993, allocations: 12.38 kB / 0.5069 GB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.09012, allocations: 94.22 kB / 0.507 GB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.09014, allocations: 192 / 0.507 GB, free: 6.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.09016, allocations: 7.938 kB / 0.507 GB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.09017, allocations: 8 kB / 0.507 GB, free: 6.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.09029, allocations: 51.97 kB / 0.5071 GB, free: 6.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.09102, allocations: 0.4935 MB / 0.5076 GB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.09126, allocations: 90.42 kB / 0.5076 GB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.09133, allocations: 32.86 kB / 0.5077 GB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.09135, allocations: 11.94 kB / 0.5077 GB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.09137, allocations: 34.55 kB / 0.5077 GB, free: 5.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.09138, allocations: 0 / 0.5077 GB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005359/0.09192, allocations: 223.4 kB / 0.5079 GB, free: 5.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.09196, allocations: 55.41 kB / 0.508 GB, free: 5.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.09206, allocations: 117.8 kB / 0.5081 GB, free: 5.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.09208, allocations: 25.7 kB / 0.5081 GB, free: 5.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.804e-05/0.09216, allocations: 107.9 kB / 0.5082 GB, free: 4.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.09219, allocations: 27.55 kB / 0.5083 GB, free: 4.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.09223, allocations: 21.72 kB / 0.5083 GB, free: 4.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.09235, allocations: 322.8 kB / 0.5086 GB, free: 4.543 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.723e-05/0.0924, allocations: 12 kB / 0.5086 GB, free: 4.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.09245, allocations: 37.7 kB / 0.5086 GB, free: 4.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.09255, allocations: 61.66 kB / 0.5087 GB, free: 4.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.09256, allocations: 0 / 0.5087 GB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002105/0.09277, allocations: 111 kB / 0.5088 GB, free: 4.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.0928, allocations: 8.031 kB / 0.5088 GB, free: 4.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.09281, allocations: 7.938 kB / 0.5088 GB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001681/0.09298, allocations: 28.88 kB / 0.5088 GB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.001e-05/0.09306, allocations: 15.98 kB / 0.5089 GB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.0942, allocations: 1.43 MB / 0.5102 GB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.162e-05/0.09425, allocations: 8.031 kB / 0.5103 GB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.09426, allocations: 0 / 0.5103 GB, free: 2.656 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.588e-05/0.09436, allocations: 125.7 kB / 0.5104 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.0944, allocations: 11.84 kB / 0.5104 GB, free: 2.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.517e-05/0.09443, allocations: 8.438 kB / 0.5104 GB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.09444, allocations: 8 kB / 0.5104 GB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.09445, allocations: 0 / 0.5104 GB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.09449, allocations: 88.94 kB / 0.5105 GB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.09451, allocations: 0 / 0.5105 GB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.09459, allocations: 8 kB / 0.5105 GB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.09462, allocations: 3.984 kB / 0.5105 GB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000335/0.09496, allocations: 193.7 kB / 0.5107 GB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002229/0.09519, allocations: 286.6 kB / 0.511 GB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.222e-05/0.09524, allocations: 24.03 kB / 0.511 GB, free: 1.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.793e-05/0.09531, allocations: 91.27 kB / 0.5111 GB, free: 1.773 MB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.09531, allocations: 3.938 kB / 0.5111 GB, free: 1.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004942/0.09581, allocations: 226.9 kB / 0.5113 GB, free: 1.527 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006862/0.09651, allocations: 0.7378 MB / 0.512 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of Templates: time 0.003317/0.09984, allocations: 1.043 MB / 0.513 GB, free: 15.7 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)