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/Chemical 1.4.0/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/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/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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) 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 Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/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/Chemical 1.4.0/package.mo): time 0.09571/0.09571, allocations: 15.27 MB / 30.91 MB, free: 4.141 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 105.1 kB / 35.91 MB, free: 3.207 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 195.3 kB / 41.02 MB, free: 7.137 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 268.9 MB, free: 6.887 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1417/0.1417, allocations: 23.36 MB / 346.6 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 111.8 kB / 478.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.397, allocations: 59.36 MB / 0.5256 GB, free: 8.102 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/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/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.03748/0.4346, allocations: 21.63 MB / 0.5467 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.4357, allocations: 444 kB / 0.5471 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.4359, allocations: 7.938 kB / 0.5471 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000139/0.436, allocations: 22.19 kB / 0.5471 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001094/0.4361, allocations: 40.61 kB / 0.5472 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.483e-05/0.4362, allocations: 15.33 kB / 0.5472 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.4364, allocations: 103 kB / 0.5473 GB, free: 13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.4365, allocations: 30.89 kB / 0.5473 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.559e-05/0.4366, allocations: 34.48 kB / 0.5474 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.4367, allocations: 39.23 kB / 0.5474 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.4367, allocations: 4 kB / 0.5474 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.59e-05/0.4367, allocations: 8 kB / 0.5474 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.4367, allocations: 9.812 kB / 0.5474 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.688e-05/0.4368, allocations: 54.14 kB / 0.5475 GB, free: 12.83 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.437, allocations: 88.7 kB / 0.5476 GB, free: 12.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.437, allocations: 0 / 0.5476 GB, free: 12.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.437, allocations: 0 / 0.5476 GB, free: 12.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.437, allocations: 0 / 0.5476 GB, free: 12.77 MB / 398.1 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.0005148/0.4375, allocations: 411.1 kB / 0.5479 GB, free: 12.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.4376, allocations: 12.55 kB / 0.548 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.4376, allocations: 16.84 kB / 0.548 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.4379, allocations: 218.2 kB / 0.5482 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.4379, allocations: 4.375 kB / 0.5482 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.438, allocations: 8.312 kB / 0.5482 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.4381, allocations: 63.02 kB / 0.5483 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4381, allocations: 0 / 0.5483 GB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.4381, allocations: 4 kB / 0.5483 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.4381, allocations: 8.703 kB / 0.5483 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/0.4382, allocations: 22 kB / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.4388, allocations: 487.6 kB / 0.5488 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.4389, allocations: 165.8 kB / 0.5489 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/0.4389, allocations: 84.14 kB / 0.549 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.439, allocations: 83.22 kB / 0.5491 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.439, allocations: 106.6 kB / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.439, allocations: 0 / 0.5492 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.779e-05/0.4391, allocations: 42.22 kB / 0.5492 GB, free: 10.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/0.4392, allocations: 130.6 kB / 0.5493 GB, free: 10.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.4394, allocations: 183.1 kB / 0.5495 GB, free: 10.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4394, allocations: 30.45 kB / 0.5495 GB, free: 10.6 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.4395, allocations: 111.7 kB / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.4395, allocations: 0 / 0.5496 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4396, allocations: 10.28 kB / 0.5497 GB, free: 10.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4397, allocations: 322.8 kB / 0.55 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.27e-05/0.4397, allocations: 4 kB / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-06/0.4397, allocations: 7.938 kB / 0.55 GB, free: 10.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.976e-05/0.4398, allocations: 9.719 kB / 0.55 GB, free: 10.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4398, allocations: 0 / 0.55 GB, free: 10.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001109/0.4399, allocations: 46.41 kB / 0.55 GB, free: 10.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4399, allocations: 7.688 kB / 0.55 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4399, allocations: 0 / 0.55 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4399, allocations: 4.656 kB / 0.55 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.44, allocations: 3.938 kB / 0.55 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.44, allocations: 0.7969 kB / 0.55 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.44, allocations: 3.938 kB / 0.55 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.4401, allocations: 4 kB / 0.5501 GB, free: 10.06 MB / 398.1 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 0.0001071/0.4402, allocations: 193.7 kB / 0.5502 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.4402, allocations: 117.3 kB / 0.5503 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.596e-05/0.4403, allocations: 116.7 kB / 0.5505 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.097e-05/0.4404, allocations: 192.7 kB / 0.5506 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.827e-05/0.4404, allocations: 185 kB / 0.5508 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.346e-05/0.4405, allocations: 180.8 kB / 0.551 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.4408, allocations: 434.1 kB / 0.5514 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-05/0.4408, allocations: 105.7 kB / 0.5515 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.4409, allocations: 109.7 kB / 0.5516 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.478e-05/0.441, allocations: 177.1 kB / 0.5518 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.441, allocations: 184.2 kB / 0.552 GB, free: 8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.679e-05/0.4411, allocations: 189.6 kB / 0.5521 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.868e-05/0.4412, allocations: 176.3 kB / 0.5523 GB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.4413, allocations: 317.9 kB / 0.5526 GB, free: 7.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.4414, allocations: 192.1 kB / 0.5528 GB, free: 7.086 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/0.4415, allocations: 181 kB / 0.553 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.351e-05/0.4416, allocations: 109.7 kB / 0.5531 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.4417, allocations: 180.9 kB / 0.5532 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.4417, allocations: 105.8 kB / 0.5533 GB, free: 6.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.4419, allocations: 131.2 kB / 0.5535 GB, free: 6.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4419, allocations: 0 / 0.5535 GB, free: 6.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.4421, allocations: 19.91 kB / 0.5535 GB, free: 6.359 MB / 398.1 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 0.0001274/0.4423, allocations: 171.3 kB / 0.5536 GB, free: 6.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 9.226e-05/0.4424, allocations: 16.78 kB / 0.5537 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4424, allocations: 0 / 0.5537 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.4424, allocations: 0 / 0.5537 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.443, allocations: 0.4949 MB / 0.5541 GB, free: 5.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/0.4435, allocations: 272.3 kB / 0.5544 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4438, allocations: 0.6993 MB / 0.5551 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.97e-05/0.4438, allocations: 14.59 kB / 0.5551 GB, free: 4.668 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.4439, allocations: 11.44 kB / 0.5551 GB, free: 4.656 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4439, allocations: 0 / 0.5551 GB, free: 4.656 MB / 398.1 MB Notification: Performance of Templates: time 0.005096/0.449, allocations: 1.564 MB / 0.5566 GB, free: 3.754 MB / 398.1 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)