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.09915/0.09915, allocations: 15.28 MB / 30.91 MB, free: 4.148 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.001255/0.001255, allocations: 111.1 kB / 35.92 MB, free: 3.168 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.001573/0.001573, allocations: 193.1 kB / 41.03 MB, free: 7.105 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.45/1.45, allocations: 222.9 MB / 268.9 MB, free: 6.867 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1531/0.1531, allocations: 23.36 MB / 346.6 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 119.8 kB / 478.3 MB, free: 2.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2983, 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.03014/0.3284, allocations: 22.1 MB / 0.5467 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.3296, allocations: 444.5 kB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.3297, allocations: 3.938 kB / 0.5471 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001174/0.3298, allocations: 20.92 kB / 0.5471 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.741e-05/0.3299, allocations: 41.52 kB / 0.5472 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.781e-05/0.33, allocations: 20.06 kB / 0.5472 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3302, allocations: 102.2 kB / 0.5473 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3303, allocations: 35.53 kB / 0.5473 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.654e-05/0.3304, allocations: 34.39 kB / 0.5473 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.399e-05/0.3304, allocations: 35.56 kB / 0.5474 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.3305, allocations: 4 kB / 0.5474 GB, free: 12.42 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.732e-05/0.3305, allocations: 8 kB / 0.5474 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.885e-05/0.3305, allocations: 17.38 kB / 0.5474 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.706e-05/0.3306, allocations: 49.8 kB / 0.5475 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3308, allocations: 90.38 kB / 0.5475 GB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3308, allocations: 0.7969 kB / 0.5475 GB, free: 12.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3308, allocations: 0 / 0.5475 GB, free: 12.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3308, allocations: 0 / 0.5475 GB, free: 12.28 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.0005394/0.3313, allocations: 411 kB / 0.5479 GB, free: 11.84 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3314, allocations: 12.03 kB / 0.5479 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.234e-05/0.3315, allocations: 36.95 kB / 0.548 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3315, allocations: 24.84 kB / 0.548 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.3318, allocations: 217.3 kB / 0.5482 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3318, allocations: 4.375 kB / 0.5482 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.3318, allocations: 4.375 kB / 0.5482 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.332, allocations: 63.12 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.332, allocations: 0 / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.332, allocations: 4 kB / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.332, allocations: 0 / 0.5483 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.859e-05/0.3321, allocations: 27.12 kB / 0.5483 GB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/0.3326, allocations: 475.6 kB / 0.5488 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.3327, allocations: 181.1 kB / 0.5489 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/0.3328, allocations: 84.14 kB / 0.549 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.3328, allocations: 75.8 kB / 0.5491 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.3329, allocations: 106.5 kB / 0.5492 GB, free: 10.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3329, allocations: 0 / 0.5492 GB, free: 10.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.237e-05/0.333, allocations: 46.3 kB / 0.5492 GB, free: 10.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.3331, allocations: 126.7 kB / 0.5494 GB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.3333, allocations: 187.3 kB / 0.5495 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.3333, allocations: 25.7 kB / 0.5496 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.302e-05/0.3334, allocations: 116.5 kB / 0.5497 GB, free: 9.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.3334, allocations: 0 / 0.5497 GB, free: 9.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3334, allocations: 17.66 kB / 0.5497 GB, free: 9.938 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3336, allocations: 319 kB / 0.55 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.3336, allocations: 4 kB / 0.55 GB, free: 9.617 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.3336, allocations: 0 / 0.55 GB, free: 9.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.3337, allocations: 17.58 kB / 0.55 GB, free: 9.598 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3337, allocations: 3.938 kB / 0.55 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001121/0.3338, allocations: 42.88 kB / 0.5501 GB, free: 9.547 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3338, allocations: 4 kB / 0.5501 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3338, allocations: 0.6094 kB / 0.5501 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3338, allocations: 3.938 kB / 0.5501 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.3339, allocations: 0.6562 kB / 0.5501 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3339, allocations: 7.938 kB / 0.5501 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.776e-05/0.3339, allocations: 3.953 kB / 0.5501 GB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.3339, allocations: 4.641 kB / 0.5501 GB, free: 9.523 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.0001221/0.3341, allocations: 189.7 kB / 0.5503 GB, free: 9.328 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.3342, allocations: 113.9 kB / 0.5504 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.703e-05/0.3342, allocations: 116.1 kB / 0.5505 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.387e-05/0.3343, allocations: 192.9 kB / 0.5507 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.338e-05/0.3344, allocations: 181 kB / 0.5508 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.094e-05/0.3345, allocations: 189 kB / 0.551 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/0.3348, allocations: 433.4 kB / 0.5514 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-05/0.3348, allocations: 101.6 kB / 0.5515 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.579e-05/0.3349, allocations: 105.5 kB / 0.5516 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.909e-05/0.335, allocations: 180.8 kB / 0.5518 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.545e-05/0.3351, allocations: 185.2 kB / 0.552 GB, free: 7.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.441e-05/0.3352, allocations: 184.9 kB / 0.5522 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.372e-05/0.3353, allocations: 184.8 kB / 0.5523 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3354, allocations: 313.8 kB / 0.5526 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.3355, allocations: 197 kB / 0.5528 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.3356, allocations: 180.3 kB / 0.553 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3358, allocations: 110.3 kB / 0.5531 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.3358, allocations: 180.2 kB / 0.5533 GB, free: 6.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.3359, allocations: 101.7 kB / 0.5534 GB, free: 5.965 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001411/0.336, allocations: 139 kB / 0.5535 GB, free: 5.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3361, allocations: 0 / 0.5535 GB, free: 5.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002504/0.3363, allocations: 16.61 kB / 0.5535 GB, free: 5.824 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.0004939/0.3368, allocations: 0.8148 MB / 0.5543 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.563e-05/0.3369, allocations: 4.609 kB / 0.5543 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3369, allocations: 0 / 0.5543 GB, free: 4.977 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3369, allocations: 4.062 kB / 0.5543 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.3375, allocations: 0.5029 MB / 0.5548 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3392, allocations: 1.654 MB / 0.5564 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3395, allocations: 0.695 MB / 0.5571 GB, free: 2.094 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.3396, allocations: 7.234 kB / 0.5571 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.936e-05/0.3396, allocations: 25.55 kB / 0.5571 GB, free: 2.066 MB / 398.1 MB Notification: Performance of SimCode: time 2.405e-06/0.3396, allocations: 0 / 0.5571 GB, free: 2.066 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.3632, allocations: 3.039 MB / 0.5601 GB, free: 164 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.488, allocations: 9.875 kB / 0.5601 GB, free: 160 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)