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.1208/0.1208, allocations: 15.28 MB / 30.51 MB, free: 4.352 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.001246/0.001246, allocations: 113.8 kB / 35.5 MB, free: 3.395 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.001495/0.001495, allocations: 192.5 kB / 40.59 MB, free: 7.465 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.526/1.526, allocations: 222.9 MB / 268.4 MB, free: 6.543 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1505/0.1505, allocations: 23.36 MB / 346.1 MB, free: 500 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 112.2 kB / 417.8 MB, free: 30.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1605, allocations: 59.37 MB / 477.1 MB, free: 3.23 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.03533/0.1959, allocations: 20.89 MB / 498 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1971, allocations: 0.4987 MB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1972, allocations: 7.938 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1974, allocations: 7.922 kB / 498.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1976, allocations: 55.55 kB / 498.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001449/0.1977, allocations: 15.98 kB / 498.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1979, allocations: 155 kB / 498.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.1981, allocations: 45.38 kB / 498.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.1982, allocations: 51.8 kB / 498.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1983, allocations: 51.73 kB / 498.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.1983, allocations: 4 kB / 498.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.589e-05/0.1984, allocations: 8 kB / 498.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.1984, allocations: 27.8 kB / 498.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.477e-05/0.1985, allocations: 63.61 kB / 499 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1987, allocations: 119.6 kB / 499.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1987, allocations: 4 kB / 499.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1987, allocations: 0 / 499.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1987, allocations: 0 / 499.1 MB, free: 13.36 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.0006404/0.1994, allocations: 438.8 kB / 499.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.1994, allocations: 8.031 kB / 499.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.611e-05/0.1995, allocations: 42.69 kB / 499.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.1995, allocations: 12.75 kB / 499.6 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1998, allocations: 220.1 kB / 499.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1998, allocations: 12.38 kB / 499.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.1999, allocations: 4.375 kB / 499.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.2, allocations: 81.73 kB / 499.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2001, allocations: 3.906 kB / 499.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2001, allocations: 7.938 kB / 499.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2001, allocations: 4 kB / 499.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.156e-05/0.2002, allocations: 39.97 kB / 500 MB, free: 12.4 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.0006614/0.2009, allocations: 479.3 kB / 0.4887 GB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.201, allocations: 54.58 kB / 0.4888 GB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.578e-05/0.201, allocations: 28.97 kB / 0.4888 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.2011, allocations: 0 / 0.4888 GB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.2011, allocations: 34.56 kB / 0.4888 GB, free: 11.72 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.2011, allocations: 0 / 0.4888 GB, free: 11.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002339/0.2014, allocations: 89.44 kB / 0.4889 GB, free: 11.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.2014, allocations: 55.34 kB / 0.489 GB, free: 11.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.2016, allocations: 179.8 kB / 0.4891 GB, free: 11.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.2017, allocations: 33.7 kB / 0.4892 GB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.015e-05/0.2017, allocations: 108 kB / 0.4893 GB, free: 11.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.2018, allocations: 23.88 kB / 0.4893 GB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.2018, allocations: 17.72 kB / 0.4893 GB, free: 11.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.202, allocations: 322.8 kB / 0.4896 GB, free: 10.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.774e-05/0.202, allocations: 15.94 kB / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.32e-05/0.202, allocations: 15.98 kB / 0.4896 GB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.2023, allocations: 73.16 kB / 0.4897 GB, free: 10.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2023, allocations: 0 / 0.4897 GB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001134/0.2025, allocations: 77.5 kB / 0.4898 GB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2025, allocations: 8 kB / 0.4898 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.2025, allocations: 0 / 0.4898 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2025, allocations: 0 / 0.4898 GB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.243e-05/0.2026, allocations: 11.94 kB / 0.4898 GB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.2026, allocations: 3.984 kB / 0.4898 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.473e-05/0.2027, allocations: 8 kB / 0.4898 GB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.2027, allocations: 3.938 kB / 0.4898 GB, free: 10.63 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.0001748/0.2029, allocations: 130.3 kB / 0.49 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.191e-05/0.2029, allocations: 11.81 kB / 0.49 GB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.203, allocations: 20.98 kB / 0.49 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.203, allocations: 3.938 kB / 0.49 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.203, allocations: 4 kB / 0.49 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.203, allocations: 0 / 0.49 GB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.2032, allocations: 197.6 kB / 0.4902 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2032, allocations: 0 / 0.4902 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.647e-05/0.2033, allocations: 11.98 kB / 0.4902 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2033, allocations: 0 / 0.4902 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.2033, allocations: 0 / 0.4902 GB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.2033, allocations: 11.94 kB / 0.4902 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2033, allocations: 0 / 0.4902 GB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.2036, allocations: 183.5 kB / 0.4904 GB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.242e-05/0.2036, allocations: 96.97 kB / 0.4905 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2037, allocations: 4 kB / 0.4905 GB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.2038, allocations: 7.875 kB / 0.4905 GB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.2038, allocations: 4 kB / 0.4905 GB, free: 9.867 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2038, allocations: 8.062 kB / 0.4905 GB, free: 9.859 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.846e-05/0.2039, allocations: 132.4 kB / 0.4906 GB, free: 9.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2039, allocations: 0 / 0.4906 GB, free: 9.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002428/0.2042, allocations: 23.91 kB / 0.4906 GB, free: 9.707 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.0004707/0.2046, allocations: 0.7124 MB / 0.4913 GB, free: 8.965 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.2048, allocations: 39.98 kB / 0.4914 GB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2048, allocations: 7.938 kB / 0.4914 GB, free: 8.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.003e-05/0.2048, allocations: 19.98 kB / 0.4914 GB, free: 8.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004735/0.2053, allocations: 62.83 kB / 0.4915 GB, free: 8.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.2071, allocations: 1.713 MB / 0.4931 GB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.2074, allocations: 0.7045 MB / 0.4938 GB, free: 6.301 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.466e-05/0.2075, allocations: 13.08 kB / 0.4938 GB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.2076, allocations: 35.44 kB / 0.4939 GB, free: 6.254 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2076, allocations: 0 / 0.4939 GB, free: 6.254 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01642/0.224, allocations: 3.308 MB / 0.4971 GB, free: 3.047 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/0.2243, allocations: 200.7 kB / 0.4973 GB, free: 2.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.211, allocations: 0 / 0.4973 GB, free: 2.785 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)