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: 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/Chemical 1.4.0/package.mo): time 0.1306/0.1306, allocations: 15.29 MB / 31.59 MB, free: 4.137 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.001191/0.001191, allocations: 100.9 kB / 36.58 MB, free: 3.18 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.001603/0.001603, allocations: 194.5 kB / 41.69 MB, free: 7.141 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.497/1.497, allocations: 222.9 MB / 269.6 MB, free: 6.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1421/0.1421, allocations: 23.37 MB / 347.3 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 111.8 kB / 479.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3205, allocations: 59.35 MB / 0.5262 GB, free: 8.113 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.03161/0.3522, allocations: 21.82 MB / 0.5475 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.3534, allocations: 481.7 kB / 0.548 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001348/0.3536, allocations: 7.938 kB / 0.548 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.3537, allocations: 26.84 kB / 0.548 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.3538, allocations: 51.86 kB / 0.5481 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.3539, allocations: 17.95 kB / 0.5481 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.3541, allocations: 153.4 kB / 0.5482 GB, free: 12.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3543, allocations: 29.44 kB / 0.5483 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.954e-05/0.3543, allocations: 55.92 kB / 0.5483 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.3545, allocations: 61.69 kB / 0.5484 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3545, allocations: 4 kB / 0.5484 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.521e-05/0.3545, allocations: 8 kB / 0.5484 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.593e-05/0.3545, allocations: 15.17 kB / 0.5484 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.3546, allocations: 67.72 kB / 0.5485 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.3548, allocations: 119.8 kB / 0.5486 GB, free: 12.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3548, allocations: 4 kB / 0.5486 GB, free: 12.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3548, allocations: 0 / 0.5486 GB, free: 12.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.3549, allocations: 0 / 0.5486 GB, free: 12.45 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.0005487/0.3554, allocations: 439.2 kB / 0.549 GB, free: 11.99 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3555, allocations: 12.03 kB / 0.549 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.3555, allocations: 13.55 kB / 0.549 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.3558, allocations: 234.9 kB / 0.5493 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3558, allocations: 4.375 kB / 0.5493 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.3558, allocations: 12.38 kB / 0.5493 GB, free: 11.7 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.356, allocations: 73.7 kB / 0.5493 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.356, allocations: 3.938 kB / 0.5493 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.356, allocations: 0 / 0.5493 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.356, allocations: 4 kB / 0.5493 GB, free: 11.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.94e-05/0.3561, allocations: 40.14 kB / 0.5494 GB, free: 11.59 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.000584/0.3567, allocations: 483.3 kB / 0.5498 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.3568, allocations: 66.31 kB / 0.5499 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.286e-05/0.3569, allocations: 22.72 kB / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.3569, allocations: 4 kB / 0.5499 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.3569, allocations: 31.5 kB / 0.55 GB, free: 10.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3569, allocations: 0 / 0.55 GB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001968/0.3571, allocations: 84.59 kB / 0.55 GB, free: 10.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3572, allocations: 60.23 kB / 0.5501 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.3573, allocations: 183.7 kB / 0.5503 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.3574, allocations: 25.7 kB / 0.5503 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.3574, allocations: 116.4 kB / 0.5504 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.3575, allocations: 21.12 kB / 0.5504 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3575, allocations: 15.17 kB / 0.5505 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3576, allocations: 327.1 kB / 0.5508 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.3577, allocations: 12.7 kB / 0.5508 GB, free: 10.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.323e-05/0.3577, allocations: 13.45 kB / 0.5508 GB, free: 10.08 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.358, allocations: 71.94 kB / 0.5509 GB, free: 10.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.358, allocations: 0 / 0.5509 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001202/0.3581, allocations: 76.73 kB / 0.5509 GB, free: 9.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3581, allocations: 8 kB / 0.5509 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3582, allocations: 0 / 0.5509 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3582, allocations: 0.8594 kB / 0.5509 GB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.3583, allocations: 12.7 kB / 0.5509 GB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3583, allocations: 8.734 kB / 0.551 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.3583, allocations: 3.938 kB / 0.551 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3583, allocations: 4 kB / 0.551 GB, free: 9.902 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.0001247/0.3585, allocations: 127.1 kB / 0.5511 GB, free: 9.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3585, allocations: 15.81 kB / 0.5511 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.78e-05/0.3585, allocations: 15.2 kB / 0.5511 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3586, allocations: 0.75 kB / 0.5511 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3586, allocations: 7.938 kB / 0.5511 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3586, allocations: 0 / 0.5511 GB, free: 9.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3588, allocations: 203 kB / 0.5513 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3588, allocations: 0.8438 kB / 0.5513 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.3589, allocations: 12.59 kB / 0.5513 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3589, allocations: 3.938 kB / 0.5513 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.3589, allocations: 4.75 kB / 0.5513 GB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3589, allocations: 3.938 kB / 0.5513 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3589, allocations: 7.922 kB / 0.5514 GB, free: 9.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3591, allocations: 188.8 kB / 0.5515 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.3592, allocations: 91.81 kB / 0.5516 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.3592, allocations: 0 / 0.5516 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.978e-05/0.3593, allocations: 0 / 0.5516 GB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.3593, allocations: 9.156 kB / 0.5516 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.267e-06/0.3593, allocations: 0 / 0.5516 GB, free: 9.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.3594, allocations: 135.6 kB / 0.5518 GB, free: 9.043 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.3595, allocations: 0 / 0.5518 GB, free: 9.043 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3597, allocations: 27.94 kB / 0.5518 GB, free: 9.016 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 7.875e-05/0.3598, allocations: 95.81 kB / 0.5519 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.3599, allocations: 35.3 kB / 0.5519 GB, free: 8.879 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3599, allocations: 4 kB / 0.5519 GB, free: 8.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.3599, allocations: 20.73 kB / 0.5519 GB, free: 8.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004373/0.3604, allocations: 52.5 kB / 0.552 GB, free: 8.816 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.3609, allocations: 359.5 kB / 0.5523 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.3612, allocations: 0.7109 MB / 0.553 GB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.3613, allocations: 11.44 kB / 0.553 GB, free: 7.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3613, allocations: 0 / 0.553 GB, free: 7.715 MB / 398.1 MB Notification: Performance of Templates: time 0.003836/0.3651, allocations: 1.757 MB / 0.5547 GB, free: 6.707 MB / 398.1 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)