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.09574/0.09574, allocations: 15.27 MB / 30.54 MB, free: 5.707 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.0007527/0.0007528, allocations: 118.1 kB / 35.58 MB, free: 1.121 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.001077/0.001077, allocations: 176.5 kB / 40.69 MB, free: 4.734 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.333/1.333, allocations: 223.2 MB / 268.9 MB, free: 256 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1273/0.1273, allocations: 23.38 MB / 347.6 MB, free: 6.531 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004912, allocations: 16.56 kB / 420.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2516, allocations: 60.47 MB / 480.8 MB, free: 36.25 MB / 350.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.01658/0.2683, allocations: 20.53 MB / 0.4896 GB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007424/0.269, allocations: 0.491 MB / 0.4901 GB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.2692, allocations: 7.938 kB / 0.4901 GB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.044e-05/0.2692, allocations: 15.84 kB / 0.4901 GB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.168e-05/0.2693, allocations: 51.61 kB / 0.4901 GB, free: 15.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.654e-05/0.2694, allocations: 15.98 kB / 0.4901 GB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.2696, allocations: 151 kB / 0.4903 GB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.2697, allocations: 37.45 kB / 0.4903 GB, free: 15.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.2697, allocations: 43.8 kB / 0.4904 GB, free: 15.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.2698, allocations: 55.66 kB / 0.4904 GB, free: 14.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.2699, allocations: 4 kB / 0.4904 GB, free: 14.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.778e-05/0.2699, allocations: 4 kB / 0.4904 GB, free: 14.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.2699, allocations: 11.94 kB / 0.4904 GB, free: 14.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.27, allocations: 85.31 kB / 0.4905 GB, free: 14.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2701, allocations: 107.6 kB / 0.4906 GB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.2701, allocations: 0 / 0.4906 GB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2701, allocations: 0 / 0.4906 GB, free: 14.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.2701, allocations: 3.938 kB / 0.4906 GB, free: 14.75 MB / 350.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.0003595/0.2705, allocations: 430.9 kB / 0.491 GB, free: 14.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2705, allocations: 8.031 kB / 0.491 GB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.983e-05/0.2705, allocations: 42.73 kB / 0.4911 GB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.693e-05/0.2706, allocations: 12.75 kB / 0.4911 GB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.2707, allocations: 220 kB / 0.4913 GB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.2708, allocations: 4.375 kB / 0.4913 GB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2708, allocations: 8.375 kB / 0.4913 GB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.2709, allocations: 81.73 kB / 0.4914 GB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2709, allocations: 0 / 0.4914 GB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.2709, allocations: 0 / 0.4914 GB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.271, allocations: 4 kB / 0.4914 GB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.03e-05/0.271, allocations: 35.98 kB / 0.4914 GB, free: 13.82 MB / 350.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.0004259/0.2715, allocations: 487.2 kB / 0.4919 GB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.277e-05/0.2716, allocations: 58.56 kB / 0.492 GB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.2716, allocations: 24.98 kB / 0.492 GB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.2716, allocations: 0 / 0.492 GB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.2716, allocations: 38.44 kB / 0.492 GB, free: 13.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.82e-07/0.2716, allocations: 0 / 0.492 GB, free: 13.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001651/0.2718, allocations: 89.5 kB / 0.4921 GB, free: 13.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/0.2718, allocations: 55.34 kB / 0.4922 GB, free: 12.97 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.272, allocations: 182.3 kB / 0.4923 GB, free: 12.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.272, allocations: 25.7 kB / 0.4924 GB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.272, allocations: 112.2 kB / 0.4925 GB, free: 12.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.272, allocations: 23.7 kB / 0.4925 GB, free: 12.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.2721, allocations: 9.719 kB / 0.4925 GB, free: 12.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.2721, allocations: 322.8 kB / 0.4928 GB, free: 12.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.2721, allocations: 16 kB / 0.4928 GB, free: 12.26 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.2722, allocations: 16.23 kB / 0.4928 GB, free: 12.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.2724, allocations: 72.91 kB / 0.4929 GB, free: 12.17 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2724, allocations: 0 / 0.4929 GB, free: 12.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.696e-05/0.2725, allocations: 73.59 kB / 0.493 GB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2725, allocations: 8 kB / 0.493 GB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.2725, allocations: 0 / 0.493 GB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.2725, allocations: 0 / 0.493 GB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.2726, allocations: 19.92 kB / 0.493 GB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2726, allocations: 3.938 kB / 0.493 GB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.741e-05/0.2727, allocations: 15.78 kB / 0.493 GB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.2727, allocations: 0 / 0.493 GB, free: 12.04 MB / 350.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.0001111/0.2728, allocations: 124.4 kB / 0.4931 GB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.2728, allocations: 11.91 kB / 0.4931 GB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.2729, allocations: 20.98 kB / 0.4932 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.2729, allocations: 7.922 kB / 0.4932 GB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.2729, allocations: 4 kB / 0.4932 GB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.2729, allocations: 0 / 0.4932 GB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2731, allocations: 205.5 kB / 0.4934 GB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2731, allocations: 0 / 0.4934 GB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.153e-05/0.2731, allocations: 11.98 kB / 0.4934 GB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2731, allocations: 0 / 0.4934 GB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.2732, allocations: 0 / 0.4934 GB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2732, allocations: 3.938 kB / 0.4934 GB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2732, allocations: 0 / 0.4934 GB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.2733, allocations: 195.5 kB / 0.4936 GB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.2734, allocations: 92.94 kB / 0.4937 GB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.2734, allocations: 4 kB / 0.4937 GB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.2735, allocations: 7.938 kB / 0.4937 GB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.159e-05/0.2735, allocations: 0 / 0.4937 GB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.2735, allocations: 0 / 0.4937 GB, free: 11.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.761e-05/0.2736, allocations: 139.2 kB / 0.4938 GB, free: 11.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2736, allocations: 0 / 0.4938 GB, free: 11.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.2738, allocations: 20 kB / 0.4938 GB, free: 11.12 MB / 350.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.0002576/0.274, allocations: 0.7202 MB / 0.4945 GB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.953e-05/0.2741, allocations: 32 kB / 0.4946 GB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2742, allocations: 0 / 0.4946 GB, free: 10.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.395e-05/0.2742, allocations: 15.98 kB / 0.4946 GB, free: 10.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.2746, allocations: 59.95 kB / 0.4946 GB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.2758, allocations: 1.76 MB / 0.4964 GB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.2759, allocations: 0.7126 MB / 0.4971 GB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.207e-05/0.276, allocations: 13.06 kB / 0.4971 GB, free: 7.668 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.276, allocations: 35.42 kB / 0.4971 GB, free: 7.633 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.276, allocations: 4 kB / 0.4971 GB, free: 7.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/0.2976, allocations: 3.126 MB / 0.5002 GB, free: 4.598 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.2978, allocations: 195.8 kB / 0.5003 GB, free: 4.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.071, allocations: 0 / 0.5003 GB, free: 4.336 MB / 350.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)