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.09363/0.09363, allocations: 15.29 MB / 31.59 MB, free: 4.121 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.001155/0.001155, allocations: 107.9 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.001402/0.001402, allocations: 193.1 kB / 41.7 MB, free: 7.125 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.407/1.407, allocations: 222.9 MB / 269.5 MB, free: 6.848 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1336/0.1336, allocations: 23.35 MB / 347.2 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 111.8 kB / 479.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3615, allocations: 59.34 MB / 0.5262 GB, free: 8.094 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.03013/0.3917, allocations: 21.67 MB / 0.5474 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009322/0.3926, allocations: 432.3 kB / 0.5478 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-05/0.3927, allocations: 7.938 kB / 0.5478 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.3928, allocations: 21.25 kB / 0.5478 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.3929, allocations: 37.23 kB / 0.5479 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.315e-05/0.393, allocations: 20.03 kB / 0.5479 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000151/0.3932, allocations: 102.2 kB / 0.548 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3933, allocations: 39.41 kB / 0.548 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.986e-05/0.3933, allocations: 38.62 kB / 0.5481 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.3934, allocations: 35.8 kB / 0.5481 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3934, allocations: 7.984 kB / 0.5481 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.3935, allocations: 4 kB / 0.5481 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.3935, allocations: 21.33 kB / 0.5481 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.3935, allocations: 41.11 kB / 0.5482 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3937, allocations: 96.66 kB / 0.5483 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3937, allocations: 0 / 0.5483 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3937, allocations: 0 / 0.5483 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3937, allocations: 3.938 kB / 0.5483 GB, free: 12.73 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.0004262/0.3941, allocations: 403.7 kB / 0.5486 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3942, allocations: 12.03 kB / 0.5487 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.3942, allocations: 12.84 kB / 0.5487 GB, free: 12.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.3945, allocations: 230 kB / 0.5489 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3945, allocations: 4.375 kB / 0.5489 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3945, allocations: 4.375 kB / 0.5489 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.3946, allocations: 59.5 kB / 0.549 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3946, allocations: 0 / 0.549 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3946, allocations: 4 kB / 0.549 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.3947, allocations: 0 / 0.549 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.844e-05/0.3947, allocations: 26.05 kB / 0.549 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.3952, allocations: 484.2 kB / 0.5494 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.2e-05/0.3953, allocations: 173.1 kB / 0.5496 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.328e-05/0.3953, allocations: 80.8 kB / 0.5497 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3954, allocations: 75.28 kB / 0.5498 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.3954, allocations: 110.5 kB / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.3954, allocations: 0 / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.002e-05/0.3955, allocations: 38.17 kB / 0.5499 GB, free: 10.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.3955, allocations: 134.6 kB / 0.55 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.3957, allocations: 183.2 kB / 0.5502 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.3957, allocations: 26.36 kB / 0.5502 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.3958, allocations: 112 kB / 0.5503 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.3958, allocations: 0 / 0.5503 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.681e-05/0.3958, allocations: 18.27 kB / 0.5504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3959, allocations: 322.2 kB / 0.5507 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.396, allocations: 0 / 0.5507 GB, free: 10.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-06/0.396, allocations: 8.562 kB / 0.5507 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.396, allocations: 9.562 kB / 0.5507 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.396, allocations: 0 / 0.5507 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.913e-05/0.3961, allocations: 42.97 kB / 0.5507 GB, free: 10.06 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3961, allocations: 12.09 kB / 0.5507 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3961, allocations: 0 / 0.5507 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.3961, allocations: 3.938 kB / 0.5507 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.3e-05/0.3962, allocations: 4.641 kB / 0.5507 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3962, allocations: 3.938 kB / 0.5507 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.342e-05/0.3963, allocations: 7.938 kB / 0.5508 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.3963, allocations: 0.6562 kB / 0.5508 GB, free: 10.03 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 7.798e-05/0.3963, allocations: 190 kB / 0.5509 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.3964, allocations: 117.7 kB / 0.551 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.3965, allocations: 115.7 kB / 0.5512 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-05/0.3965, allocations: 192.9 kB / 0.5513 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.319e-05/0.3966, allocations: 189 kB / 0.5515 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-05/0.3967, allocations: 181 kB / 0.5517 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.3969, allocations: 438.1 kB / 0.5521 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.818e-05/0.3969, allocations: 101 kB / 0.5522 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.397, allocations: 105.8 kB / 0.5523 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.797e-05/0.397, allocations: 177 kB / 0.5525 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.3971, allocations: 189.2 kB / 0.5527 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.147e-05/0.3971, allocations: 181.1 kB / 0.5528 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.617e-05/0.3972, allocations: 189 kB / 0.553 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.3973, allocations: 309.2 kB / 0.5533 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.3974, allocations: 191.5 kB / 0.5535 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.927e-05/0.3975, allocations: 177.6 kB / 0.5537 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.148e-05/0.3976, allocations: 105.7 kB / 0.5538 GB, free: 6.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.3976, allocations: 189 kB / 0.5539 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.3977, allocations: 105.7 kB / 0.554 GB, free: 6.469 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.3978, allocations: 135.3 kB / 0.5542 GB, free: 6.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3978, allocations: 0 / 0.5542 GB, free: 6.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.398, allocations: 15.91 kB / 0.5542 GB, free: 6.332 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 9.549e-05/0.3981, allocations: 167.1 kB / 0.5543 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.106e-05/0.3982, allocations: 16.55 kB / 0.5544 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3982, allocations: 0 / 0.5544 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.3982, allocations: 0 / 0.5544 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.3987, allocations: 0.4958 MB / 0.5548 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.3991, allocations: 297.6 kB / 0.5551 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3993, allocations: 0.6961 MB / 0.5558 GB, free: 4.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.3994, allocations: 11.44 kB / 0.5558 GB, free: 4.613 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3994, allocations: 0 / 0.5558 GB, free: 4.613 MB / 398.1 MB Notification: Performance of Templates: time 0.002929/0.4023, allocations: 1.468 MB / 0.5572 GB, free: 3.77 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)