Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.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.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.MuscleHeat,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat",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.09352/0.09352, allocations: 15.28 MB / 30.92 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.001326/0.001326, allocations: 109.2 kB / 35.92 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.001501/0.001501, 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.499/1.499, allocations: 222.9 MB / 268.9 MB, free: 6.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1472/0.1472, allocations: 23.35 MB / 346.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003234/0.003234, allocations: 111.8 kB / 478.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.3012, allocations: 59.35 MB / 0.5251 GB, free: 7.801 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.MuscleHeat): time 0.039/0.3403, allocations: 22.28 MB / 0.5469 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.3415, allocations: 481.1 kB / 0.5473 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.3416, allocations: 4 kB / 0.5473 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.3417, allocations: 22.75 kB / 0.5473 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.3418, allocations: 59.39 kB / 0.5474 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/0.3419, allocations: 22.12 kB / 0.5474 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3422, allocations: 153.7 kB / 0.5476 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.3423, allocations: 33.28 kB / 0.5476 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.3424, allocations: 51.64 kB / 0.5476 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3425, allocations: 57.83 kB / 0.5477 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.3426, allocations: 4 kB / 0.5477 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.756e-05/0.3427, allocations: 12 kB / 0.5477 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.356e-05/0.3427, allocations: 20.02 kB / 0.5477 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.3428, allocations: 61.28 kB / 0.5478 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.343, allocations: 123.5 kB / 0.5479 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.343, allocations: 4.75 kB / 0.5479 GB, free: 11.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.343, allocations: 0 / 0.5479 GB, free: 11.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.343, allocations: 0 / 0.5479 GB, free: 11.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005791/0.3436, allocations: 438.5 kB / 0.5483 GB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3437, allocations: 12.03 kB / 0.5483 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.3437, allocations: 40.91 kB / 0.5484 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.3438, allocations: 16.84 kB / 0.5484 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.344, allocations: 226.9 kB / 0.5486 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.3441, allocations: 4.375 kB / 0.5486 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.3441, allocations: 9.078 kB / 0.5486 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3442, allocations: 85.39 kB / 0.5487 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3443, allocations: 3.938 kB / 0.5487 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3443, allocations: 4 kB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3443, allocations: 0 / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.3444, allocations: 35.52 kB / 0.5487 GB, free: 11.02 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007568/0.3451, allocations: 483.8 kB / 0.5492 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.3453, allocations: 61.86 kB / 0.5493 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.3453, allocations: 26.77 kB / 0.5493 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.151e-05/0.3454, allocations: 0 / 0.5493 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3454, allocations: 35.3 kB / 0.5493 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.3454, allocations: 0 / 0.5493 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002101/0.3456, allocations: 85.27 kB / 0.5494 GB, free: 10.29 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.3457, allocations: 55.86 kB / 0.5495 GB, free: 10.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3459, allocations: 187.8 kB / 0.5496 GB, free: 10.05 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3459, allocations: 25.7 kB / 0.5497 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.346, allocations: 112.6 kB / 0.5498 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.346, allocations: 21.16 kB / 0.5498 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.3461, allocations: 23.22 kB / 0.5498 GB, free: 9.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3462, allocations: 327.2 kB / 0.5501 GB, free: 9.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.863e-05/0.3463, allocations: 8.562 kB / 0.5501 GB, free: 9.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.3463, allocations: 13.64 kB / 0.5502 GB, free: 9.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002789/0.3466, allocations: 76.02 kB / 0.5502 GB, free: 9.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3466, allocations: 0 / 0.5502 GB, free: 9.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001205/0.3467, allocations: 76.28 kB / 0.5503 GB, free: 9.371 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.3467, allocations: 8 kB / 0.5503 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3467, allocations: 0 / 0.5503 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.3467, allocations: 0 / 0.5503 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.3468, allocations: 13.67 kB / 0.5503 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3469, allocations: 7.938 kB / 0.5503 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/0.347, allocations: 7.953 kB / 0.5503 GB, free: 9.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.347, allocations: 0 / 0.5503 GB, free: 9.34 MB / 398.1 MB Warning: Assuming fixed start value for the following 1 variables: muscle.relativeHeat:VARIABLE(flow=false start = muscle.relativeHeat_start unit = "J" fixed = true nominal = 4.1868e6 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real 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 (6): * Single equations (assignments): 6 * 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.0001691/0.3472, allocations: 141.8 kB / 0.5505 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.252e-05/0.3472, allocations: 11.91 kB / 0.5505 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/0.3473, allocations: 15.58 kB / 0.5505 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3473, allocations: 7.938 kB / 0.5505 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3473, allocations: 0 / 0.5505 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3473, allocations: 0.6562 kB / 0.5505 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3476, allocations: 206.6 kB / 0.5507 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3476, allocations: 4.562 kB / 0.5507 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.835e-05/0.3476, allocations: 5.078 kB / 0.5507 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3476, allocations: 0 / 0.5507 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.3477, allocations: 8.625 kB / 0.5507 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3477, allocations: 3.938 kB / 0.5507 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3477, allocations: 0 / 0.5507 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.3479, allocations: 189.1 kB / 0.5509 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.348, allocations: 95.36 kB / 0.551 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.348, allocations: 8 kB / 0.551 GB, free: 8.594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.3481, allocations: 4.547 kB / 0.551 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.3481, allocations: 1.266 kB / 0.551 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3481, allocations: 4 kB / 0.551 GB, free: 8.586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.3483, allocations: 130.8 kB / 0.5511 GB, free: 8.469 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3483, allocations: 0 / 0.5511 GB, free: 8.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3485, allocations: 20 kB / 0.5512 GB, free: 8.449 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (muscle.relativeHeat) * 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 (5): * Single equations (assignments): 5 * 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.0005645/0.3491, allocations: 0.723 MB / 0.5519 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000118/0.3492, allocations: 34.86 kB / 0.5519 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3493, allocations: 0 / 0.5519 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.3493, allocations: 16.7 kB / 0.5519 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.3498, allocations: 72.62 kB / 0.552 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.3517, allocations: 1.687 MB / 0.5536 GB, free: 5.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3521, allocations: 0.7109 MB / 0.5543 GB, free: 5.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.386e-05/0.3521, allocations: 7.25 kB / 0.5543 GB, free: 5.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.3522, allocations: 38.48 kB / 0.5544 GB, free: 5.133 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3522, allocations: 0 / 0.5544 GB, free: 5.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.3798, allocations: 3.452 MB / 0.5577 GB, free: 2.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.569, allocations: 10.7 kB / 0.5577 GB, free: 2.844 MB / 398.1 MB (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_MuscleHeat.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)