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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) Running command: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 239.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 102.3 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3531/0.3531, allocations: 36.67 MB / 376.7 MB, free: 41.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 67.91 kB / 446.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.112, allocations: 58.92 MB / 0.4935 GB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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-master/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.2388/0.3509, allocations: 19.21 MB / 0.5122 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.3519, allocations: 499.2 kB / 0.5127 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3521, allocations: 14 kB / 0.5127 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.3522, allocations: 18.84 kB / 0.5127 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.3523, allocations: 49.23 kB / 0.5128 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.3524, allocations: 17.97 kB / 0.5128 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3526, allocations: 148.4 kB / 0.513 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3527, allocations: 32.03 kB / 0.513 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.3528, allocations: 53.94 kB / 0.513 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.3529, allocations: 52.38 kB / 0.5131 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3529, allocations: 5.969 kB / 0.5131 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.336e-05/0.353, allocations: 6.125 kB / 0.5131 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.55e-05/0.353, allocations: 12.83 kB / 0.5131 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.531e-05/0.3531, allocations: 61.31 kB / 0.5132 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.3532, allocations: 116.2 kB / 0.5133 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3533, allocations: 0 / 0.5133 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3533, allocations: 0 / 0.5133 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.3533, allocations: 0 / 0.5133 GB, free: 36.02 MB / 378.7 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.0005009/0.3538, allocations: 444.1 kB / 0.5137 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3538, allocations: 6.406 kB / 0.5137 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.784e-05/0.3539, allocations: 21.94 kB / 0.5137 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3541, allocations: 225.7 kB / 0.5139 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.3541, allocations: 3.406 kB / 0.5139 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3542, allocations: 7.781 kB / 0.514 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3543, allocations: 73.67 kB / 0.514 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3543, allocations: 0 / 0.514 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3543, allocations: 3.75 kB / 0.514 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3544, allocations: 7.094 kB / 0.514 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.3544, allocations: 33.33 kB / 0.5141 GB, free: 35.34 MB / 378.7 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.0005602/0.355, allocations: 490.3 kB / 0.5145 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3551, allocations: 61.88 kB / 0.5146 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/0.3552, allocations: 27.08 kB / 0.5146 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3552, allocations: 0 / 0.5146 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.974e-05/0.3552, allocations: 34.25 kB / 0.5147 GB, free: 34.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3552, allocations: 0 / 0.5147 GB, free: 34.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001873/0.3554, allocations: 82.75 kB / 0.5147 GB, free: 34.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3555, allocations: 55.34 kB / 0.5148 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.3556, allocations: 183.9 kB / 0.515 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.3556, allocations: 29.7 kB / 0.515 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.3557, allocations: 112.3 kB / 0.5151 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.3557, allocations: 20.44 kB / 0.5151 GB, free: 34.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.3557, allocations: 17.95 kB / 0.5151 GB, free: 34.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.3558, allocations: 325.4 kB / 0.5154 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.3558, allocations: 16.19 kB / 0.5155 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.3559, allocations: 15.23 kB / 0.5155 GB, free: 34.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002515/0.3561, allocations: 74.72 kB / 0.5155 GB, free: 34.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3561, allocations: 0 / 0.5155 GB, free: 34.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.341e-05/0.3562, allocations: 69 kB / 0.5156 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3563, allocations: 6.562 kB / 0.5156 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3563, allocations: 0.9844 kB / 0.5156 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.3563, allocations: 0 / 0.5156 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.3564, allocations: 17.86 kB / 0.5156 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3564, allocations: 3.938 kB / 0.5156 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.044e-05/0.3564, allocations: 4.562 kB / 0.5156 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3564, allocations: 7.125 kB / 0.5156 GB, free: 34.11 MB / 378.7 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.0001416/0.3566, allocations: 131.3 kB / 0.5158 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3566, allocations: 14.34 kB / 0.5158 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.3567, allocations: 14.75 kB / 0.5158 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3567, allocations: 0 / 0.5158 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3567, allocations: 3.938 kB / 0.5158 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3567, allocations: 0 / 0.5158 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3569, allocations: 204.7 kB / 0.516 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.3569, allocations: 7.125 kB / 0.516 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.357, allocations: 12.2 kB / 0.516 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.357, allocations: 0 / 0.516 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.357, allocations: 0.5625 kB / 0.516 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.357, allocations: 64 / 0.516 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.357, allocations: 8.641 kB / 0.516 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3581, allocations: 1.254 MB / 0.5173 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.3581, allocations: 96.09 kB / 0.5173 GB, free: 32.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3581, allocations: 5.016 kB / 0.5173 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.3582, allocations: 1.609 kB / 0.5173 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.3583, allocations: 8.812 kB / 0.5174 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3583, allocations: 4.625 kB / 0.5174 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.939e-05/0.3584, allocations: 132.1 kB / 0.5175 GB, free: 32.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3584, allocations: 0 / 0.5175 GB, free: 32.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003078/0.3587, allocations: 37.88 kB / 0.5175 GB, free: 32.56 MB / 378.7 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 6.995e-05/0.3588, allocations: 97.61 kB / 0.5176 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.3589, allocations: 33.81 kB / 0.5176 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3589, allocations: 0 / 0.5176 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.172e-05/0.3589, allocations: 19.95 kB / 0.5177 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.3594, allocations: 60.14 kB / 0.5177 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.3599, allocations: 474.9 kB / 0.5182 GB, free: 32.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001346/0.3601, allocations: 0.7093 MB / 0.5189 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.3602, allocations: 10.34 kB / 0.5189 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.3602, allocations: 14.33 kB / 0.5189 GB, free: 31.39 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3602, allocations: 4 kB / 0.5189 GB, free: 31.39 MB / 378.7 MB Notification: Performance of Templates: time 0.004551/0.3648, allocations: 1.862 MB / 0.5207 GB, free: 31.25 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile (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 & ./Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1)