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.08212/0.08212, allocations: 15.28 MB / 31.45 MB, free: 4.062 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.001037/0.001037, allocations: 105.6 kB / 36.44 MB, free: 3.273 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.001255/0.001255, allocations: 193.1 kB / 41.55 MB, free: 7.207 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.423/1.423, allocations: 222.9 MB / 269.4 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.1332/0.1332, allocations: 23.35 MB / 347.1 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 111.8 kB / 418.9 MB, free: 30.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.09128, allocations: 59.38 MB / 478.2 MB, free: 3.012 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.02854/0.1198, allocations: 21.82 MB / 0.4883 GB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000939/0.1208, allocations: 494.6 kB / 0.4888 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.1209, allocations: 4 kB / 0.4888 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.121, allocations: 23.72 kB / 0.4888 GB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.1211, allocations: 59.48 kB / 0.4889 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.1213, allocations: 15.97 kB / 0.4889 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1214, allocations: 151.1 kB / 0.4891 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1216, allocations: 45.41 kB / 0.4891 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.102e-05/0.1216, allocations: 51.73 kB / 0.4892 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.1218, allocations: 55.72 kB / 0.4892 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1218, allocations: 4 kB / 0.4892 GB, free: 12.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.521e-05/0.1218, allocations: 8 kB / 0.4892 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.1219, allocations: 19.92 kB / 0.4892 GB, free: 12.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.214e-05/0.1219, allocations: 55.69 kB / 0.4893 GB, free: 12.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1221, allocations: 115.6 kB / 0.4894 GB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1221, allocations: 4 kB / 0.4894 GB, free: 12.24 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1221, allocations: 0 / 0.4894 GB, free: 12.24 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.1221, allocations: 4 kB / 0.4894 GB, free: 12.23 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.0005343/0.1226, allocations: 445.3 kB / 0.4898 GB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.1227, allocations: 12.02 kB / 0.4898 GB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1227, allocations: 12.84 kB / 0.4899 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1229, allocations: 215.9 kB / 0.4901 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.123, allocations: 8.375 kB / 0.4901 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.123, allocations: 8.312 kB / 0.4901 GB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.1231, allocations: 73.98 kB / 0.4902 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1231, allocations: 4 kB / 0.4902 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1232, allocations: 8 kB / 0.4902 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1232, allocations: 3.938 kB / 0.4902 GB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.445e-05/0.1233, allocations: 39.64 kB / 0.4902 GB, free: 11.34 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.0005857/0.1239, allocations: 487.2 kB / 0.4907 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.124, allocations: 54.56 kB / 0.4907 GB, free: 10.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.497e-05/0.124, allocations: 28.92 kB / 0.4907 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.124, allocations: 3.938 kB / 0.4908 GB, free: 10.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1241, allocations: 38.56 kB / 0.4908 GB, free: 10.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1241, allocations: 0 / 0.4908 GB, free: 10.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001943/0.1243, allocations: 85.48 kB / 0.4909 GB, free: 10.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.1243, allocations: 59.34 kB / 0.4909 GB, free: 10.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1245, allocations: 183.8 kB / 0.4911 GB, free: 10.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.1245, allocations: 25.7 kB / 0.4911 GB, free: 10.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.319e-05/0.1246, allocations: 112 kB / 0.4912 GB, free: 10.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1246, allocations: 19.88 kB / 0.4913 GB, free: 10.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1247, allocations: 17.72 kB / 0.4913 GB, free: 10.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1248, allocations: 322.8 kB / 0.4916 GB, free: 9.781 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.926e-05/0.1248, allocations: 8 kB / 0.4916 GB, free: 9.773 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.371e-05/0.1248, allocations: 23.92 kB / 0.4916 GB, free: 9.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.1251, allocations: 65.22 kB / 0.4917 GB, free: 9.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1251, allocations: 4 kB / 0.4917 GB, free: 9.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001149/0.1252, allocations: 77.5 kB / 0.4917 GB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.1253, allocations: 6.188 kB / 0.4918 GB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1253, allocations: 4 kB / 0.4918 GB, free: 9.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.1253, allocations: 4 kB / 0.4918 GB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.397e-05/0.1254, allocations: 19.92 kB / 0.4918 GB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1254, allocations: 3.938 kB / 0.4918 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.1255, allocations: 0 / 0.4918 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1255, allocations: 4 kB / 0.4918 GB, free: 9.559 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.0001286/0.1256, allocations: 114.4 kB / 0.4919 GB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1257, allocations: 15.81 kB / 0.4919 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.1257, allocations: 20.98 kB / 0.4919 GB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1257, allocations: 4 kB / 0.4919 GB, free: 9.395 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1257, allocations: 3.938 kB / 0.4919 GB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1257, allocations: 0 / 0.4919 GB, free: 9.391 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.1259, allocations: 205.6 kB / 0.4921 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1259, allocations: 0 / 0.4921 GB, free: 9.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.126, allocations: 7.984 kB / 0.4921 GB, free: 9.133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.126, allocations: 4 kB / 0.4921 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.126, allocations: 0 / 0.4921 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.126, allocations: 0 / 0.4921 GB, free: 9.129 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.126, allocations: 7.875 kB / 0.4922 GB, free: 9.121 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1262, allocations: 199.2 kB / 0.4923 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.1263, allocations: 89.03 kB / 0.4924 GB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.1264, allocations: 128 / 0.4924 GB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1265, allocations: 8 kB / 0.4924 GB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.1265, allocations: 3.938 kB / 0.4924 GB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1265, allocations: 4 kB / 0.4924 GB, free: 8.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.533e-05/0.1266, allocations: 132.4 kB / 0.4926 GB, free: 8.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1266, allocations: 0 / 0.4926 GB, free: 8.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1268, allocations: 24.06 kB / 0.4926 GB, free: 8.637 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 6.99e-05/0.1269, allocations: 95.19 kB / 0.4927 GB, free: 8.531 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001034/0.127, allocations: 39.92 kB / 0.4927 GB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.127, allocations: 0 / 0.4927 GB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.086e-05/0.1271, allocations: 16 kB / 0.4927 GB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004635/0.1275, allocations: 63.88 kB / 0.4928 GB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005244/0.1281, allocations: 353.4 kB / 0.4931 GB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1283, allocations: 0.7123 MB / 0.4938 GB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1284, allocations: 11.44 kB / 0.4938 GB, free: 7.285 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1284, allocations: 0 / 0.4938 GB, free: 7.285 MB / 366.1 MB Notification: Performance of Templates: time 0.003033/0.1314, allocations: 1.733 MB / 0.4955 GB, free: 5.562 MB / 366.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)