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.09528/0.09528, allocations: 15.28 MB / 31.59 MB, free: 4.129 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.001043/0.001043, allocations: 97.14 kB / 36.58 MB, free: 3.184 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.001278/0.001278, allocations: 190.1 kB / 41.69 MB, free: 7.141 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.466/1.466, allocations: 222.9 MB / 269.6 MB, free: 6.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1499/0.1499, allocations: 23.35 MB / 347.2 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 107.8 kB / 479.5 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3689, allocations: 59.35 MB / 0.5262 GB, free: 8.371 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.03593/0.4049, allocations: 21.67 MB / 0.5474 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.4059, allocations: 444.8 kB / 0.5478 GB, free: 13.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.4061, allocations: 7.938 kB / 0.5478 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.4062, allocations: 17.16 kB / 0.5478 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.4063, allocations: 41 kB / 0.5479 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.014e-05/0.4064, allocations: 11.8 kB / 0.5479 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.4066, allocations: 106.5 kB / 0.548 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4067, allocations: 31.41 kB / 0.548 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.044e-05/0.4068, allocations: 38.39 kB / 0.5481 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.782e-05/0.4069, allocations: 35.8 kB / 0.5481 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.4069, allocations: 4 kB / 0.5481 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.4069, allocations: 4 kB / 0.5481 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.278e-05/0.4069, allocations: 13.72 kB / 0.5481 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.701e-05/0.407, allocations: 49.28 kB / 0.5482 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.4072, allocations: 86.95 kB / 0.5482 GB, free: 12.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4072, allocations: 4 kB / 0.5482 GB, free: 12.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4072, allocations: 0 / 0.5482 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.4072, allocations: 4 kB / 0.5482 GB, free: 12.93 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.0005611/0.4078, allocations: 411.8 kB / 0.5486 GB, free: 12.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4078, allocations: 8.031 kB / 0.5486 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.4079, allocations: 12.84 kB / 0.5487 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.4082, allocations: 218.5 kB / 0.5489 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.4082, allocations: 4.375 kB / 0.5489 GB, free: 12.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4082, allocations: 12.31 kB / 0.5489 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.4083, allocations: 58.66 kB / 0.5489 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4083, allocations: 4 kB / 0.5489 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.4084, allocations: 3.938 kB / 0.5489 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.4084, allocations: 0.6562 kB / 0.5489 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.805e-05/0.4084, allocations: 26.09 kB / 0.549 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005514/0.409, allocations: 483.3 kB / 0.5494 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.4091, allocations: 173.7 kB / 0.5496 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.4091, allocations: 88.08 kB / 0.5497 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.4092, allocations: 76.03 kB / 0.5498 GB, free: 11.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/0.4092, allocations: 105.8 kB / 0.5499 GB, free: 11.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4092, allocations: 0 / 0.5499 GB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.183e-05/0.4093, allocations: 46.31 kB / 0.5499 GB, free: 11.13 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.4094, allocations: 131.4 kB / 0.55 GB, free: 10.99 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.4096, allocations: 182.9 kB / 0.5502 GB, free: 10.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.4096, allocations: 25.7 kB / 0.5502 GB, free: 10.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.4097, allocations: 108.4 kB / 0.5503 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-06/0.4097, allocations: 0 / 0.5503 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.4097, allocations: 18.52 kB / 0.5503 GB, free: 10.65 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4098, allocations: 322.6 kB / 0.5507 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.4099, allocations: 4 kB / 0.5507 GB, free: 10.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-06/0.4099, allocations: 3.938 kB / 0.5507 GB, free: 10.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.04e-05/0.4099, allocations: 13.61 kB / 0.5507 GB, free: 10.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4099, allocations: 0 / 0.5507 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.641e-05/0.41, allocations: 38.31 kB / 0.5507 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.41, allocations: 12.03 kB / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.4101, allocations: 0 / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4101, allocations: 96 / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.035e-05/0.4101, allocations: 8.641 kB / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4101, allocations: 0 / 0.5507 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.4102, allocations: 7.938 kB / 0.5507 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4102, allocations: 0.75 kB / 0.5507 GB, free: 10.24 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.0001059/0.4103, allocations: 193.1 kB / 0.5509 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.4104, allocations: 114.3 kB / 0.551 GB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.583e-05/0.4104, allocations: 115.9 kB / 0.5511 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.119e-05/0.4105, allocations: 196.9 kB / 0.5513 GB, free: 9.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.476e-05/0.4106, allocations: 181.2 kB / 0.5515 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.99e-05/0.4107, allocations: 188.8 kB / 0.5517 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.4109, allocations: 433.3 kB / 0.5521 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.529e-05/0.411, allocations: 101.8 kB / 0.5522 GB, free: 8.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.411, allocations: 109.6 kB / 0.5523 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.516e-05/0.4111, allocations: 177 kB / 0.5525 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/0.4111, allocations: 185 kB / 0.5526 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/0.4112, allocations: 180.8 kB / 0.5528 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.007e-05/0.4113, allocations: 181.5 kB / 0.553 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.4114, allocations: 321.1 kB / 0.5533 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.4115, allocations: 196 kB / 0.5535 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.659e-05/0.4116, allocations: 177 kB / 0.5537 GB, free: 7.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.4117, allocations: 110.1 kB / 0.5538 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4118, allocations: 180.9 kB / 0.5539 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.4118, allocations: 105.7 kB / 0.554 GB, free: 6.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.4119, allocations: 135.6 kB / 0.5542 GB, free: 6.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4119, allocations: 0 / 0.5542 GB, free: 6.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002195/0.4122, allocations: 15.91 kB / 0.5542 GB, free: 6.535 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.0001114/0.4123, allocations: 175.3 kB / 0.5543 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.33e-05/0.4124, allocations: 11.94 kB / 0.5544 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4124, allocations: 0 / 0.5544 GB, free: 6.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.4124, allocations: 4.953 kB / 0.5544 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005959/0.413, allocations: 498.8 kB / 0.5548 GB, free: 5.855 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.4134, allocations: 302.4 kB / 0.5551 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4137, allocations: 0.6954 MB / 0.5558 GB, free: 4.824 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.4137, allocations: 11.44 kB / 0.5558 GB, free: 4.812 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4138, allocations: 0 / 0.5558 GB, free: 4.812 MB / 398.1 MB Notification: Performance of Templates: time 0.003584/0.4173, allocations: 1.456 MB / 0.5572 GB, free: 3.973 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)