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-master/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-master/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-master/package.mo): time 0.1162/0.1162, 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.0008199/0.00082, allocations: 113 kB / 35.57 MB, free: 1.133 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.001051/0.001051, allocations: 188.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.334/1.334, allocations: 223.3 MB / 268.9 MB, free: 1.988 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1201/0.1201, allocations: 23.39 MB / 347.7 MB, free: 6.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 12 kB / 420.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2632, allocations: 60.46 MB / 480.7 MB, free: 36.46 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.02056/0.2838, allocations: 20.52 MB / 0.4895 GB, free: 16.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008054/0.2846, allocations: 490.8 kB / 0.4899 GB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2847, allocations: 7.938 kB / 0.4899 GB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.593e-05/0.2848, allocations: 23.84 kB / 0.49 GB, free: 15.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.2849, allocations: 51.55 kB / 0.49 GB, free: 15.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001091/0.2851, allocations: 15.98 kB / 0.49 GB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.2852, allocations: 151 kB / 0.4902 GB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.2853, allocations: 29.47 kB / 0.4902 GB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.27e-05/0.2854, allocations: 43.8 kB / 0.4902 GB, free: 15.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.834e-05/0.2855, allocations: 51.72 kB / 0.4903 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2855, allocations: 8 kB / 0.4903 GB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.98e-05/0.2855, allocations: 4 kB / 0.4903 GB, free: 15.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2855, allocations: 19.86 kB / 0.4903 GB, free: 15.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.2856, allocations: 77.39 kB / 0.4904 GB, free: 15.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.2857, allocations: 111.5 kB / 0.4905 GB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2857, allocations: 4 kB / 0.4905 GB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2857, allocations: 0 / 0.4905 GB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.2858, allocations: 0 / 0.4905 GB, free: 14.99 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.0003942/0.2862, allocations: 422.9 kB / 0.4909 GB, free: 14.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2862, allocations: 8.031 kB / 0.4909 GB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.2862, allocations: 16.75 kB / 0.4909 GB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2864, allocations: 227.8 kB / 0.4911 GB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.2865, allocations: 4.375 kB / 0.4911 GB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.415e-05/0.2865, allocations: 8.375 kB / 0.4912 GB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.2866, allocations: 73.98 kB / 0.4912 GB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2867, allocations: 0 / 0.4912 GB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2867, allocations: 7.984 kB / 0.4912 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2867, allocations: 4 kB / 0.4912 GB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.2868, allocations: 39.98 kB / 0.4913 GB, free: 14.1 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.0004565/0.2872, allocations: 483.2 kB / 0.4917 GB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2874, allocations: 70.5 kB / 0.4918 GB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.2874, allocations: 20.98 kB / 0.4918 GB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-06/0.2874, allocations: 4 kB / 0.4918 GB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.122e-05/0.2874, allocations: 30.56 kB / 0.4919 GB, free: 13.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2874, allocations: 0 / 0.4919 GB, free: 13.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001779/0.2876, allocations: 81.5 kB / 0.4919 GB, free: 13.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/0.2876, allocations: 55.34 kB / 0.492 GB, free: 13.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.2878, allocations: 182.3 kB / 0.4922 GB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.2878, allocations: 29.7 kB / 0.4922 GB, free: 13.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.2878, allocations: 116.2 kB / 0.4923 GB, free: 12.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.2879, allocations: 19.66 kB / 0.4923 GB, free: 12.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-05/0.2879, allocations: 13.72 kB / 0.4923 GB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.2879, allocations: 334.7 kB / 0.4927 GB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.369e-05/0.288, allocations: 8 kB / 0.4927 GB, free: 12.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.977e-05/0.288, allocations: 15.98 kB / 0.4927 GB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.2882, allocations: 68.83 kB / 0.4927 GB, free: 12.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2883, allocations: 0 / 0.4927 GB, free: 12.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.278e-05/0.2884, allocations: 77.55 kB / 0.4928 GB, free: 12.37 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.2884, allocations: 4 kB / 0.4928 GB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2884, allocations: 0 / 0.4928 GB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2884, allocations: 0 / 0.4928 GB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.103e-05/0.2885, allocations: 15.92 kB / 0.4928 GB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2885, allocations: 3.938 kB / 0.4928 GB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.08e-05/0.2885, allocations: 11.84 kB / 0.4928 GB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2886, allocations: 4 kB / 0.4929 GB, free: 12.33 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.0001212/0.2887, allocations: 133.2 kB / 0.493 GB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.2887, allocations: 7.906 kB / 0.493 GB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.2888, allocations: 16.98 kB / 0.493 GB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.2888, allocations: 4 kB / 0.493 GB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2888, allocations: 4.375 kB / 0.493 GB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2888, allocations: 0 / 0.493 GB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.2889, allocations: 201.5 kB / 0.4932 GB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2889, allocations: 12 kB / 0.4932 GB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.289, allocations: 7.984 kB / 0.4932 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.289, allocations: 0 / 0.4932 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.289, allocations: 4 kB / 0.4932 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.289, allocations: 0 / 0.4932 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2891, allocations: 3.938 kB / 0.4932 GB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.2892, allocations: 183.4 kB / 0.4934 GB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.2893, allocations: 96.94 kB / 0.4935 GB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.2893, allocations: 8.062 kB / 0.4935 GB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.2894, allocations: 0 / 0.4935 GB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.839e-05/0.2894, allocations: 7.922 kB / 0.4935 GB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.2894, allocations: 4 kB / 0.4935 GB, free: 11.56 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.057e-05/0.2895, allocations: 131.2 kB / 0.4936 GB, free: 11.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2895, allocations: 0 / 0.4936 GB, free: 11.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.2897, allocations: 20 kB / 0.4937 GB, free: 11.41 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 6.356e-05/0.2898, allocations: 95.25 kB / 0.4938 GB, free: 11.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.2899, allocations: 39.92 kB / 0.4938 GB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2899, allocations: 0 / 0.4938 GB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.572e-05/0.2899, allocations: 16 kB / 0.4938 GB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004663/0.2904, allocations: 55.89 kB / 0.4939 GB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.2909, allocations: 405.8 kB / 0.4942 GB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2911, allocations: 0.7009 MB / 0.4949 GB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.766e-05/0.2911, allocations: 17.08 kB / 0.4949 GB, free: 10.03 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.589e-05/0.2911, allocations: 11.44 kB / 0.495 GB, free: 10.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2912, allocations: 0 / 0.495 GB, free: 10.02 MB / 350.1 MB Notification: Performance of Templates: time 0.003753/0.2949, allocations: 1.665 MB / 0.4966 GB, free: 8.383 MB / 350.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)