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.0917/0.0917, allocations: 15.27 MB / 30.91 MB, free: 4.125 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.001216/0.001216, allocations: 106.1 kB / 35.91 MB, free: 3.199 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.001431/0.001431, allocations: 193.1 kB / 41.02 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.428/1.428, allocations: 222.9 MB / 268.9 MB, free: 6.906 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1446/0.1446, allocations: 23.36 MB / 346.6 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00313/0.00313, allocations: 123.8 kB / 478.3 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3175, allocations: 59.36 MB / 0.5251 GB, free: 7.797 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.03351/0.351, allocations: 22.16 MB / 0.5467 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009642/0.352, allocations: 437.8 kB / 0.5472 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.3521, allocations: 4 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.3522, allocations: 18.05 kB / 0.5472 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3523, allocations: 44.39 kB / 0.5472 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.925e-05/0.3523, allocations: 12.78 kB / 0.5472 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3525, allocations: 109.5 kB / 0.5473 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.3526, allocations: 27.91 kB / 0.5474 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.3527, allocations: 34.86 kB / 0.5474 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.379e-05/0.3527, allocations: 42.84 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.3528, allocations: 4 kB / 0.5474 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.644e-05/0.3528, allocations: 4 kB / 0.5474 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.3528, allocations: 13.47 kB / 0.5475 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.018e-05/0.3529, allocations: 49.3 kB / 0.5475 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.353, allocations: 95.62 kB / 0.5476 GB, free: 12.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.353, allocations: 0 / 0.5476 GB, free: 12.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.353, allocations: 0 / 0.5476 GB, free: 12.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.353, allocations: 0 / 0.5476 GB, free: 12.22 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.0004943/0.3535, allocations: 411.1 kB / 0.548 GB, free: 11.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3535, allocations: 12.03 kB / 0.548 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.3536, allocations: 32.3 kB / 0.548 GB, free: 11.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3536, allocations: 16.84 kB / 0.548 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.3539, allocations: 222.1 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.3539, allocations: 384 / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.3539, allocations: 8.375 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.354, allocations: 59.31 kB / 0.5483 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.3541, allocations: 3.938 kB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.3541, allocations: 4 kB / 0.5483 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3541, allocations: 3.938 kB / 0.5483 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.984e-05/0.3541, allocations: 18.72 kB / 0.5484 GB, free: 11.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005314/0.3546, allocations: 499.2 kB / 0.5488 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.481e-05/0.3547, allocations: 169.9 kB / 0.549 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.3548, allocations: 80.14 kB / 0.5491 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3548, allocations: 75.28 kB / 0.5491 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.3549, allocations: 110.6 kB / 0.5492 GB, free: 10.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3549, allocations: 0 / 0.5492 GB, free: 10.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.477e-05/0.3549, allocations: 54 kB / 0.5493 GB, free: 10.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.355, allocations: 127.4 kB / 0.5494 GB, free: 10.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3552, allocations: 182.7 kB / 0.5496 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.3552, allocations: 26.41 kB / 0.5496 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.091e-05/0.3553, allocations: 108.3 kB / 0.5497 GB, free: 9.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.3553, allocations: 4 kB / 0.5497 GB, free: 9.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.3553, allocations: 13.72 kB / 0.5497 GB, free: 9.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.3555, allocations: 319 kB / 0.55 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.356e-05/0.3555, allocations: 8 kB / 0.55 GB, free: 9.559 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.282e-06/0.3555, allocations: 0 / 0.55 GB, free: 9.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3e-05/0.3555, allocations: 17.31 kB / 0.5501 GB, free: 9.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3555, allocations: 0 / 0.5501 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.3556, allocations: 50.98 kB / 0.5501 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3556, allocations: 4 kB / 0.5501 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.3556, allocations: 4.547 kB / 0.5501 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.3557, allocations: 3.938 kB / 0.5501 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.3557, allocations: 4.609 kB / 0.5501 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3557, allocations: 0 / 0.5501 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.3558, allocations: 3.953 kB / 0.5501 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.3558, allocations: 0.5625 kB / 0.5501 GB, free: 9.465 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.000114/0.3559, allocations: 194.1 kB / 0.5503 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.356, allocations: 121.4 kB / 0.5504 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.316e-05/0.356, allocations: 116.3 kB / 0.5505 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-05/0.3561, allocations: 184.9 kB / 0.5507 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.465e-05/0.3562, allocations: 180.9 kB / 0.5509 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-05/0.3562, allocations: 176.8 kB / 0.5511 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002916/0.3565, allocations: 441.5 kB / 0.5515 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.3566, allocations: 101.6 kB / 0.5516 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.3566, allocations: 102.1 kB / 0.5517 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-05/0.3567, allocations: 188.7 kB / 0.5519 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.361e-05/0.3568, allocations: 176.8 kB / 0.552 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.58e-05/0.3569, allocations: 184.9 kB / 0.5522 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.99e-05/0.3569, allocations: 185.1 kB / 0.5524 GB, free: 7.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.3571, allocations: 317.7 kB / 0.5527 GB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.947e-05/0.3572, allocations: 188 kB / 0.5529 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.931e-05/0.3573, allocations: 181.6 kB / 0.553 GB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3574, allocations: 112.9 kB / 0.5531 GB, free: 6.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.3575, allocations: 185.4 kB / 0.5533 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-05/0.3575, allocations: 101.6 kB / 0.5534 GB, free: 5.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.3576, allocations: 135.4 kB / 0.5535 GB, free: 5.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3576, allocations: 0 / 0.5535 GB, free: 5.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.3579, allocations: 12 kB / 0.5536 GB, free: 5.773 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.0004413/0.3583, allocations: 0.8189 MB / 0.5544 GB, free: 4.926 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.081e-05/0.3584, allocations: 4.562 kB / 0.5544 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3584, allocations: 0 / 0.5544 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.3584, allocations: 0 / 0.5544 GB, free: 4.922 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.359, allocations: 0.5113 MB / 0.5549 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.3605, allocations: 1.645 MB / 0.5565 GB, free: 2.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3609, allocations: 0.6997 MB / 0.5572 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.753e-05/0.3609, allocations: 10.66 kB / 0.5572 GB, free: 2.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.23e-05/0.361, allocations: 26.62 kB / 0.5572 GB, free: 2.004 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.361, allocations: 0 / 0.5572 GB, free: 2.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.3856, allocations: 3.053 MB / 0.5602 GB, free: 84 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.375, allocations: 6.844 kB / 0.5602 GB, free: 80 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_SkinHeatFlow.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatFlow.pipe 2>&1)