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.001111/0.001111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.286/1.286, allocations: 222.9 MB / 238.9 MB, free: 4.773 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.001099/0.001099, allocations: 192.4 kB / 289.1 MB, free: 2.523 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03171/0.03171, allocations: 8.789 MB / 348.1 MB, free: 4.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 69.03 kB / 410.4 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08846/0.08985, allocations: 51.56 MB / 462 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Thermal.Network): time 0.002532/0.09241, allocations: 1.78 MB / 463.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002011/0.09263, allocations: 95.67 kB / 463.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.09268, allocations: 0 / 463.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.945e-05/0.09275, allocations: 11.92 kB / 463.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.753e-05/0.09282, allocations: 31.75 kB / 463.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001133/0.09294, allocations: 19.94 kB / 463.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.09306, allocations: 115.4 kB / 464 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.09319, allocations: 39.95 kB / 464 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.613e-05/0.09324, allocations: 39.92 kB / 464.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.09332, allocations: 47.78 kB / 464.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.09334, allocations: 4 kB / 464.1 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.09337, allocations: 8 kB / 464.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.0934, allocations: 19.92 kB / 464.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.141e-05/0.09345, allocations: 47.8 kB / 464.2 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.09358, allocations: 107.9 kB / 464.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.09359, allocations: 0 / 464.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.09359, allocations: 0 / 464.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.0936, allocations: 0 / 464.3 MB, free: 12.61 MB / 302.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.000434/0.09404, allocations: 399.2 kB / 464.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.09408, allocations: 8.031 kB / 464.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.09412, allocations: 8.844 kB / 464.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.09424, allocations: 180.2 kB / 464.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.09426, allocations: 8.375 kB / 464.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.09429, allocations: 12.38 kB / 464.9 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.09446, allocations: 92.25 kB / 465 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.09447, allocations: 192 / 465 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.09449, allocations: 11.92 kB / 465 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.0945, allocations: 4 kB / 465 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.09462, allocations: 59.83 kB / 465.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.0952, allocations: 0.4936 MB / 465.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.09543, allocations: 94.42 kB / 465.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.643e-05/0.0955, allocations: 40.98 kB / 465.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.09551, allocations: 7.984 kB / 465.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.09554, allocations: 30.56 kB / 465.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.09554, allocations: 0 / 465.7 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.000476/0.09602, allocations: 223.5 kB / 466 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.09606, allocations: 51.41 kB / 466 MB, free: 10.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.972e-05/0.09614, allocations: 117.8 kB / 466.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.09616, allocations: 29.64 kB / 466.1 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.09622, allocations: 107.9 kB / 466.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.09625, allocations: 27.56 kB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.09628, allocations: 21.7 kB / 466.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.09638, allocations: 322.8 kB / 466.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.09641, allocations: 15.98 kB / 466.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.24e-05/0.09646, allocations: 37.66 kB / 466.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.291e-05/0.09654, allocations: 53.72 kB / 466.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.09655, allocations: 0.5625 kB / 466.7 MB, free: 9.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001956/0.09675, allocations: 126.2 kB / 466.8 MB, free: 9.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.09677, allocations: 8 kB / 466.9 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.09678, allocations: 4 kB / 466.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001448/0.09693, allocations: 24.84 kB / 466.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.629e-05/0.097, allocations: 15.98 kB / 466.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008836/0.09789, allocations: 1.32 MB / 468.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.436e-05/0.09795, allocations: 0 / 468.2 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.09796, allocations: 8 kB / 468.2 MB, free: 8.266 MB / 302.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.136e-05/0.09805, allocations: 118.4 kB / 468.3 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.09808, allocations: 7.906 kB / 468.3 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.09811, allocations: 16.42 kB / 468.4 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.09812, allocations: 3.938 kB / 468.4 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.09812, allocations: 4 kB / 468.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.09813, allocations: 0 / 468.4 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.09831, allocations: 201.6 kB / 468.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.09832, allocations: 3.984 kB / 468.6 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.47e-05/0.0984, allocations: 15.94 kB / 468.6 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.0985, allocations: 24.84 kB / 468.6 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.09852, allocations: 4 kB / 468.6 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008223/0.09934, allocations: 1.339 MB / 470 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.09936, allocations: 0 / 470 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.09961, allocations: 216.3 kB / 470.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.044e-05/0.09966, allocations: 89.12 kB / 470.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.09968, allocations: 0 / 470.3 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.744e-05/0.09975, allocations: 4 kB / 470.3 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.111e-05/0.09978, allocations: 3.938 kB / 470.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.09979, allocations: 4 kB / 470.3 MB, free: 5.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.433e-05/0.09984, allocations: 103.3 kB / 470.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09984, allocations: 0 / 470.4 MB, free: 5.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1001, allocations: 31.84 kB / 470.4 MB, free: 5.859 MB / 302.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 8.542e-05/0.1002, allocations: 96.56 kB / 470.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.1004, allocations: 178.5 kB / 470.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1005, allocations: 0 / 470.7 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1006, allocations: 150.8 kB / 470.8 MB, free: 5.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1009, allocations: 11.94 kB / 470.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/0.1014, allocations: 324.8 kB / 471.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1016, allocations: 0.7043 MB / 471.8 MB, free: 4.324 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.1017, allocations: 4.609 kB / 471.9 MB, free: 4.316 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.1017, allocations: 11.44 kB / 471.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1017, allocations: 0 / 471.9 MB, free: 4.305 MB / 302.1 MB Notification: Performance of Templates: time 0.002951/0.1046, allocations: 1.078 MB / 472.9 MB, free: 3.242 MB / 302.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)