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.1211/0.1211, allocations: 15.29 MB / 30.41 MB, free: 4.387 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.001075/0.001075, allocations: 105.3 kB / 35.38 MB, free: 3.457 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.00131/0.00131, allocations: 197.1 kB / 40.47 MB, free: 7.547 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.515/1.515, allocations: 222.9 MB / 268.3 MB, free: 6.953 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.145/0.145, allocations: 23.34 MB / 346 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 103.8 kB / 417.6 MB, free: 30.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1244, allocations: 59.36 MB / 476.9 MB, free: 3.402 MB / 334.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.03024/0.1547, allocations: 20.91 MB / 497.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.1557, allocations: 0.491 MB / 498.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1559, allocations: 7.938 kB / 498.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.156, allocations: 15.84 kB / 498.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1561, allocations: 47.61 kB / 498.4 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.1562, allocations: 19.98 kB / 498.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001884/0.1564, allocations: 155 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1566, allocations: 33.42 kB / 498.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.365e-05/0.1566, allocations: 47.8 kB / 498.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.05e-05/0.1567, allocations: 51.72 kB / 498.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.1568, allocations: 8 kB / 498.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.508e-05/0.1568, allocations: 4 kB / 498.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1568, allocations: 15.86 kB / 498.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1569, allocations: 59.69 kB / 498.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1571, allocations: 119.5 kB / 498.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1571, allocations: 0 / 498.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1571, allocations: 0 / 498.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.1571, allocations: 4 kB / 498.9 MB, free: 13.54 MB / 366.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.000607/0.1577, allocations: 442.8 kB / 499.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.1578, allocations: 8.594 kB / 499.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1578, allocations: 42.73 kB / 499.4 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.1579, allocations: 16.75 kB / 499.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1581, allocations: 220 kB / 499.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1581, allocations: 4.375 kB / 499.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.052e-05/0.1582, allocations: 8.375 kB / 499.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1583, allocations: 85.67 kB / 499.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1583, allocations: 7.844 kB / 499.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1584, allocations: 0 / 499.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.1584, allocations: 4 kB / 499.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.708e-05/0.1585, allocations: 35.98 kB / 499.8 MB, free: 12.59 MB / 366.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.0006303/0.1591, allocations: 479.3 kB / 0.4885 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.1592, allocations: 58.56 kB / 0.4886 GB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.1593, allocations: 24.98 kB / 0.4886 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.1593, allocations: 0 / 0.4886 GB, free: 11.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1593, allocations: 34.5 kB / 0.4886 GB, free: 11.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1593, allocations: 0 / 0.4886 GB, free: 11.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002304/0.1596, allocations: 93.5 kB / 0.4887 GB, free: 11.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1596, allocations: 55.34 kB / 0.4887 GB, free: 11.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.1598, allocations: 183.8 kB / 0.4889 GB, free: 11.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.1598, allocations: 29.7 kB / 0.489 GB, free: 11.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.45e-05/0.1599, allocations: 112 kB / 0.4891 GB, free: 11.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.1599, allocations: 19.89 kB / 0.4891 GB, free: 11.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.16, allocations: 13.72 kB / 0.4891 GB, free: 11.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.1601, allocations: 326.8 kB / 0.4894 GB, free: 11.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.888e-05/0.1601, allocations: 15.98 kB / 0.4894 GB, free: 11.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.1602, allocations: 12 kB / 0.4894 GB, free: 11.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.1604, allocations: 76.7 kB / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1605, allocations: 0 / 0.4895 GB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001164/0.1606, allocations: 73.52 kB / 0.4896 GB, free: 10.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.1606, allocations: 6.656 kB / 0.4896 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1606, allocations: 3.984 kB / 0.4896 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1606, allocations: 4 kB / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.894e-05/0.1607, allocations: 11.94 kB / 0.4896 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.1607, allocations: 7.922 kB / 0.4896 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.1608, allocations: 4 kB / 0.4896 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.1608, allocations: 0 / 0.4896 GB, free: 10.82 MB / 366.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 = 4186800.0 ) "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.000155/0.161, allocations: 121.8 kB / 0.4897 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.488e-05/0.161, allocations: 15.8 kB / 0.4897 GB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.1611, allocations: 13 kB / 0.4898 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.1611, allocations: 11.94 kB / 0.4898 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1611, allocations: 448 / 0.4898 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1611, allocations: 3.984 kB / 0.4898 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1613, allocations: 205.6 kB / 0.49 GB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1613, allocations: 4 kB / 0.49 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.005e-05/0.1614, allocations: 8 kB / 0.49 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1614, allocations: 0 / 0.49 GB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1614, allocations: 8 kB / 0.49 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1614, allocations: 7.875 kB / 0.49 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1614, allocations: 0 / 0.49 GB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.1616, allocations: 187.3 kB / 0.4902 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.1617, allocations: 96.97 kB / 0.4903 GB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1618, allocations: 4 kB / 0.4903 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.135e-05/0.1618, allocations: 3.938 kB / 0.4903 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1619, allocations: 3.984 kB / 0.4903 GB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.1619, allocations: 4 kB / 0.4903 GB, free: 10.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.162, allocations: 127.2 kB / 0.4904 GB, free: 9.918 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.162, allocations: 64 / 0.4904 GB, free: 9.918 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1622, allocations: 31.91 kB / 0.4904 GB, free: 9.887 MB / 366.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.0004321/0.1627, allocations: 0.7162 MB / 0.4911 GB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.1628, allocations: 31.98 kB / 0.4912 GB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1628, allocations: 0 / 0.4912 GB, free: 9.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.034e-05/0.1628, allocations: 16 kB / 0.4912 GB, free: 9.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.1633, allocations: 66.89 kB / 0.4912 GB, free: 9.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.165, allocations: 1.711 MB / 0.4929 GB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002631/0.1653, allocations: 0.7087 MB / 0.4936 GB, free: 6.496 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.785e-05/0.1653, allocations: 9.078 kB / 0.4936 GB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.1654, allocations: 35.42 kB / 0.4936 GB, free: 6.453 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1654, allocations: 4 kB / 0.4936 GB, free: 6.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.1784, allocations: 3.21 MB / 0.4968 GB, free: 3.32 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.1786, allocations: 197.4 kB / 0.497 GB, free: 3.059 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.076, allocations: 0 / 0.497 GB, free: 3.059 MB / 366.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)