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.09224/0.09224, allocations: 15.28 MB / 31.59 MB, free: 4.117 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.001046/0.001046, allocations: 96.88 kB / 36.59 MB, free: 3.188 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.00117/0.00117, allocations: 190.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.33/1.33, allocations: 222.9 MB / 269.6 MB, free: 6.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1279/0.1279, allocations: 23.35 MB / 347.2 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002091/0.002091, allocations: 111.8 kB / 479.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2884, allocations: 59.35 MB / 0.5262 GB, free: 8.098 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.02814/0.3166, allocations: 21.83 MB / 0.5476 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.3176, allocations: 482.8 kB / 0.548 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3177, allocations: 11.94 kB / 0.548 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.3178, allocations: 19.36 kB / 0.548 GB, free: 12.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.3179, allocations: 55.16 kB / 0.5481 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.3181, allocations: 22.23 kB / 0.5481 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.3183, allocations: 149.3 kB / 0.5483 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3184, allocations: 37.17 kB / 0.5483 GB, free: 12.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.174e-05/0.3185, allocations: 55.59 kB / 0.5484 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.26e-05/0.3186, allocations: 54.64 kB / 0.5484 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3186, allocations: 8 kB / 0.5484 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.361e-05/0.3186, allocations: 8 kB / 0.5484 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.351e-05/0.3186, allocations: 14.75 kB / 0.5484 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.498e-05/0.3187, allocations: 63.45 kB / 0.5485 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.3189, allocations: 120.5 kB / 0.5486 GB, free: 12.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3189, allocations: 3.938 kB / 0.5486 GB, free: 12.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3189, allocations: 0 / 0.5486 GB, free: 12.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3189, allocations: 3.938 kB / 0.5486 GB, free: 12.39 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.0005115/0.3194, allocations: 446.6 kB / 0.549 GB, free: 11.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.3195, allocations: 8.688 kB / 0.5491 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.3195, allocations: 12.84 kB / 0.5491 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3198, allocations: 226.8 kB / 0.5493 GB, free: 11.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.3198, allocations: 8.375 kB / 0.5493 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.3198, allocations: 4.938 kB / 0.5493 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.32, allocations: 77.19 kB / 0.5494 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.32, allocations: 0.6562 kB / 0.5494 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.32, allocations: 4 kB / 0.5494 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.32, allocations: 4 kB / 0.5494 GB, free: 11.56 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.3201, allocations: 39.78 kB / 0.5494 GB, free: 11.52 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.0005981/0.3207, allocations: 479.3 kB / 0.5499 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.3208, allocations: 66.41 kB / 0.5499 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.3209, allocations: 27.14 kB / 0.55 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.454e-06/0.3209, allocations: 0 / 0.55 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.3209, allocations: 30.56 kB / 0.55 GB, free: 10.88 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.3209, allocations: 0 / 0.55 GB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001888/0.3211, allocations: 89.59 kB / 0.5501 GB, free: 10.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3212, allocations: 51.41 kB / 0.5501 GB, free: 10.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.3213, allocations: 191.9 kB / 0.5503 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.3214, allocations: 33.7 kB / 0.5503 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.3214, allocations: 108.5 kB / 0.5504 GB, free: 10.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.3214, allocations: 25.78 kB / 0.5505 GB, free: 10.38 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.3215, allocations: 18.28 kB / 0.5505 GB, free: 10.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.718e-05/0.3216, allocations: 323.6 kB / 0.5508 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.657e-05/0.3216, allocations: 8.797 kB / 0.5508 GB, free: 10.03 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.197e-05/0.3216, allocations: 12.8 kB / 0.5508 GB, free: 10.02 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.3219, allocations: 72.03 kB / 0.5509 GB, free: 9.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3219, allocations: 0 / 0.5509 GB, free: 9.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001099/0.322, allocations: 80.59 kB / 0.551 GB, free: 9.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3221, allocations: 7.594 kB / 0.551 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3221, allocations: 3.984 kB / 0.551 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3221, allocations: 0.5156 kB / 0.551 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.3222, allocations: 9.5 kB / 0.551 GB, free: 9.855 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3222, allocations: 7.938 kB / 0.551 GB, free: 9.848 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.846e-05/0.3222, allocations: 11.94 kB / 0.551 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3223, allocations: 0 / 0.551 GB, free: 9.836 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.0001288/0.3224, allocations: 120.3 kB / 0.5511 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.3224, allocations: 11.81 kB / 0.5511 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.3225, allocations: 19.97 kB / 0.5511 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3225, allocations: 3.938 kB / 0.5511 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3225, allocations: 0.5625 kB / 0.5511 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.3226, allocations: 94.97 kB / 0.5512 GB, free: 9.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.3226, allocations: 8.562 kB / 0.5512 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.3227, allocations: 4 kB / 0.5512 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3227, allocations: 1.219 kB / 0.5513 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001827/0.3229, allocations: 154.1 kB / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002054/0.3231, allocations: 265.4 kB / 0.5517 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.361e-05/0.3231, allocations: 18.05 kB / 0.5517 GB, free: 9.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.781e-05/0.3232, allocations: 139.5 kB / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of Backend: time 2.8e-07/0.3233, allocations: 0 / 0.5518 GB, free: 8.992 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.3236, allocations: 96.73 kB / 0.5519 GB, free: 8.891 MB / 398.1 MB Notification: Performance of SimCode: time 0.0008719/0.3244, allocations: 0.8075 MB / 0.5527 GB, free: 8.059 MB / 398.1 MB Notification: Performance of Templates: time 0.004409/0.3289, allocations: 1.871 MB / 0.5545 GB, free: 6.98 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)