Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 239.7 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.84 kB / 289.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.33/0.33, allocations: 36.67 MB / 376.7 MB, free: 41.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 68.19 kB / 446.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1209, allocations: 58.92 MB / 0.4935 GB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Physiolibrary.Thermal.Examples.SkinHeatFlow): time 0.2413/0.3623, allocations: 19.19 MB / 0.5122 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.3632, allocations: 484.2 kB / 0.5127 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.3633, allocations: 9.812 kB / 0.5127 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.3635, allocations: 15.7 kB / 0.5127 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.3636, allocations: 38.94 kB / 0.5127 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.392e-05/0.3636, allocations: 9.609 kB / 0.5127 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.3637, allocations: 108.6 kB / 0.5129 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.259e-05/0.3638, allocations: 18.72 kB / 0.5129 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.339e-05/0.3639, allocations: 29 kB / 0.5129 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.364, allocations: 42.12 kB / 0.5129 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.364, allocations: 3.188 kB / 0.5129 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.834e-05/0.364, allocations: 3.281 kB / 0.5129 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.364, allocations: 15.84 kB / 0.513 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.3641, allocations: 53.72 kB / 0.513 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.3642, allocations: 78.14 kB / 0.5131 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3642, allocations: 1.406 kB / 0.5131 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3642, allocations: 3.438 kB / 0.5131 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.3642, allocations: 0 / 0.5131 GB, free: 36.05 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000398/0.3646, allocations: 407.8 kB / 0.5135 GB, free: 35.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3647, allocations: 6.281 kB / 0.5135 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3647, allocations: 15.09 kB / 0.5135 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001879/0.3649, allocations: 214.9 kB / 0.5137 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.3649, allocations: 384 / 0.5137 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.365, allocations: 6.719 kB / 0.5137 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.3651, allocations: 60.5 kB / 0.5138 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3651, allocations: 0 / 0.5138 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3651, allocations: 0 / 0.5138 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3651, allocations: 7 kB / 0.5138 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.3652, allocations: 21.77 kB / 0.5138 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.3656, allocations: 497.1 kB / 0.5143 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.834e-05/0.3657, allocations: 174.6 kB / 0.5144 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.3657, allocations: 80.75 kB / 0.5145 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.3657, allocations: 79.28 kB / 0.5146 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.3657, allocations: 106.5 kB / 0.5147 GB, free: 34.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3658, allocations: 3 kB / 0.5147 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.566e-05/0.3658, allocations: 41 kB / 0.5147 GB, free: 34.47 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.3659, allocations: 133.9 kB / 0.5149 GB, free: 34.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.366, allocations: 181.8 kB / 0.515 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.682e-06/0.3661, allocations: 25.7 kB / 0.5151 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.64e-05/0.3662, allocations: 109.9 kB / 0.5152 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.3662, allocations: 0 / 0.5152 GB, free: 34.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.3662, allocations: 21.02 kB / 0.5152 GB, free: 34.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.3663, allocations: 321.8 kB / 0.5155 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.3663, allocations: 0 / 0.5155 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.344e-06/0.3663, allocations: 3.844 kB / 0.5155 GB, free: 33.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/0.3663, allocations: 12.67 kB / 0.5155 GB, free: 33.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3663, allocations: 0 / 0.5155 GB, free: 33.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.727e-05/0.3664, allocations: 50.91 kB / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3665, allocations: 7.266 kB / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3665, allocations: 0 / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.3665, allocations: 0 / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.3666, allocations: 4.734 kB / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3666, allocations: 3.094 kB / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.3666, allocations: 3.938 kB / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-06/0.3666, allocations: 0 / 0.5156 GB, free: 33.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.997e-05/0.3667, allocations: 200.8 kB / 0.5158 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.3667, allocations: 119.9 kB / 0.5159 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.3668, allocations: 115.3 kB / 0.516 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-05/0.3668, allocations: 185.1 kB / 0.5162 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.295e-05/0.3669, allocations: 181 kB / 0.5163 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.121e-05/0.3669, allocations: 180.8 kB / 0.5165 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001937/0.3671, allocations: 441.9 kB / 0.5169 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.3671, allocations: 105.7 kB / 0.517 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.3672, allocations: 105 kB / 0.5171 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.03e-05/0.3672, allocations: 184.8 kB / 0.5173 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.3672, allocations: 177.1 kB / 0.5175 GB, free: 31.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/0.3673, allocations: 187.8 kB / 0.5177 GB, free: 31.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.823e-05/0.3673, allocations: 184.9 kB / 0.5178 GB, free: 31.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.3675, allocations: 0.8653 MB / 0.5187 GB, free: 30.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3676, allocations: 197.5 kB / 0.5189 GB, free: 30.24 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.3676, allocations: 181.4 kB / 0.519 GB, free: 30.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.3677, allocations: 108.8 kB / 0.5191 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.3678, allocations: 176.9 kB / 0.5193 GB, free: 29.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.3678, allocations: 105 kB / 0.5194 GB, free: 29.66 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.509e-05/0.3679, allocations: 140.1 kB / 0.5195 GB, free: 29.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3679, allocations: 3.938 kB / 0.5195 GB, free: 29.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003462/0.3683, allocations: 16.12 kB / 0.5196 GB, free: 29.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.528e-05/0.3683, allocations: 170.3 kB / 0.5197 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.914e-05/0.3684, allocations: 3.688 kB / 0.5197 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3684, allocations: 0 / 0.5197 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.604e-06/0.3684, allocations: 0 / 0.5197 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.3689, allocations: 0.5804 MB / 0.5203 GB, free: 28.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003357/0.3692, allocations: 298.8 kB / 0.5206 GB, free: 28.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.3694, allocations: 0.6963 MB / 0.5213 GB, free: 27.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.823e-05/0.3694, allocations: 17.31 kB / 0.5213 GB, free: 27.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.3695, allocations: 14.66 kB / 0.5213 GB, free: 27.92 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3695, allocations: 0 / 0.5213 GB, free: 27.92 MB / 378.7 MB Notification: Performance of Templates: time 0.003887/0.3734, allocations: 1.49 MB / 0.5227 GB, free: 27.8 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)