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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.SkinHeatFlow,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.091/0.091, allocations: 15.27 MB / 30.9 MB, free: 4.25 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.001086/0.001086, allocations: 108.2 kB / 35.92 MB, free: 3.156 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.001249/0.001249, allocations: 193.1 kB / 41.02 MB, free: 7.16 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.374/1.374, 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.128/0.128, allocations: 23.35 MB / 346.6 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 111.8 kB / 478.3 MB, free: 2.336 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2998, allocations: 59.35 MB / 0.5251 GB, free: 7.805 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.03189/0.3317, allocations: 21.73 MB / 0.5463 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009279/0.3327, allocations: 440.4 kB / 0.5467 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.814e-05/0.3328, allocations: 4 kB / 0.5467 GB, free: 13.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.979e-05/0.3329, allocations: 16.55 kB / 0.5467 GB, free: 13.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.257e-05/0.333, allocations: 49.78 kB / 0.5468 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.97e-05/0.333, allocations: 12.64 kB / 0.5468 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.3332, allocations: 113.5 kB / 0.5469 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.3333, allocations: 31.84 kB / 0.5469 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.217e-05/0.3334, allocations: 34.92 kB / 0.547 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.3334, allocations: 34.91 kB / 0.547 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3335, allocations: 4 kB / 0.547 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.233e-05/0.3335, allocations: 4 kB / 0.547 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.2e-05/0.3335, allocations: 21.48 kB / 0.547 GB, free: 12.76 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.2e-05/0.3336, allocations: 49.14 kB / 0.5471 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.3337, allocations: 91.53 kB / 0.5472 GB, free: 12.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3337, allocations: 0 / 0.5472 GB, free: 12.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3338, allocations: 0 / 0.5472 GB, free: 12.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.3338, allocations: 4 kB / 0.5472 GB, free: 12.64 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.000431/0.3342, allocations: 407.2 kB / 0.5476 GB, free: 12.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3342, allocations: 8.031 kB / 0.5476 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.3343, allocations: 39.59 kB / 0.5476 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.3343, allocations: 17.64 kB / 0.5476 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3346, allocations: 213.9 kB / 0.5478 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.3346, allocations: 8.375 kB / 0.5478 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.3346, allocations: 384 / 0.5478 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3347, allocations: 62.66 kB / 0.5479 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3347, allocations: 1.031 kB / 0.5479 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.3347, allocations: 0 / 0.5479 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3347, allocations: 8 kB / 0.5479 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.228e-05/0.3348, allocations: 25.81 kB / 0.5479 GB, free: 11.8 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.3353, allocations: 487.5 kB / 0.5484 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.7e-05/0.3353, allocations: 169.6 kB / 0.5486 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.3354, allocations: 88.14 kB / 0.5486 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.3354, allocations: 79.8 kB / 0.5487 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/0.3355, allocations: 106.5 kB / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3355, allocations: 0 / 0.5488 GB, free: 10.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.078e-05/0.3355, allocations: 42.11 kB / 0.5489 GB, free: 10.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3356, allocations: 130.6 kB / 0.549 GB, free: 10.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.3358, allocations: 183.4 kB / 0.5492 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.3358, allocations: 29.7 kB / 0.5492 GB, free: 10.44 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001121/0.3359, allocations: 112.3 kB / 0.5493 GB, free: 10.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.3359, allocations: 0 / 0.5493 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.336, allocations: 14.42 kB / 0.5493 GB, free: 10.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3361, allocations: 322.4 kB / 0.5496 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.229e-05/0.3361, allocations: 4 kB / 0.5496 GB, free: 9.988 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/0.3361, allocations: 4.609 kB / 0.5496 GB, free: 9.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.588e-05/0.3361, allocations: 12.92 kB / 0.5496 GB, free: 9.969 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3361, allocations: 0 / 0.5496 GB, free: 9.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001092/0.3362, allocations: 47.23 kB / 0.5497 GB, free: 9.918 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.3363, allocations: 4 kB / 0.5497 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3363, allocations: 0 / 0.5497 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3363, allocations: 8.922 kB / 0.5497 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.235e-05/0.3363, allocations: 0 / 0.5497 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.267e-05/0.3364, allocations: 3.984 kB / 0.5497 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.989e-05/0.3365, allocations: 3.953 kB / 0.5497 GB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3365, allocations: 4.844 kB / 0.5497 GB, free: 9.895 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 8.619e-05/0.3366, allocations: 193.2 kB / 0.5499 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.3366, allocations: 109.9 kB / 0.55 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.35e-05/0.3367, allocations: 124.8 kB / 0.5501 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/0.3368, allocations: 192.2 kB / 0.5503 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.562e-05/0.3368, allocations: 181.7 kB / 0.5505 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/0.3369, allocations: 188.2 kB / 0.5507 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.3371, allocations: 430.2 kB / 0.5511 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.253e-05/0.3372, allocations: 109.7 kB / 0.5512 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.281e-05/0.3372, allocations: 101.7 kB / 0.5513 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-05/0.3373, allocations: 176.3 kB / 0.5514 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.3373, allocations: 181 kB / 0.5516 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-05/0.3374, allocations: 189.7 kB / 0.5518 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.427e-05/0.3374, allocations: 180.2 kB / 0.552 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.3376, allocations: 317.7 kB / 0.5523 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.3377, allocations: 192.1 kB / 0.5524 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.711e-05/0.3378, allocations: 180.9 kB / 0.5526 GB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.369e-05/0.3379, allocations: 113.5 kB / 0.5527 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.3379, allocations: 177 kB / 0.5529 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.338, allocations: 113.6 kB / 0.553 GB, free: 6.324 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3381, allocations: 131.8 kB / 0.5531 GB, free: 6.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3381, allocations: 0 / 0.5531 GB, free: 6.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.3383, allocations: 19.94 kB / 0.5531 GB, free: 6.188 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.0004142/0.3387, allocations: 0.8117 MB / 0.5539 GB, free: 5.348 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.281e-05/0.3388, allocations: 8 kB / 0.5539 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3388, allocations: 3.938 kB / 0.554 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-06/0.3388, allocations: 0.5625 kB / 0.554 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.3394, allocations: 0.5097 MB / 0.5545 GB, free: 4.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.3408, allocations: 1.642 MB / 0.5561 GB, free: 3.176 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.341, allocations: 0.6951 MB / 0.5567 GB, free: 2.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.815e-05/0.3411, allocations: 10.77 kB / 0.5567 GB, free: 2.457 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.3411, allocations: 34.28 kB / 0.5568 GB, free: 2.426 MB / 398.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3412, allocations: 0 / 0.5568 GB, free: 2.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.3631, allocations: 3.034 MB / 0.5597 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.032, allocations: 11.56 kB / 0.5597 GB, free: 0.5117 MB / 398.1 MB (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 & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)