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.07821/0.07821, allocations: 15.28 MB / 30.4 MB, free: 4.395 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.0009801/0.0009801, allocations: 104 kB / 35.38 MB, free: 3.461 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.0011/0.001101, allocations: 193.1 kB / 40.46 MB, free: 7.539 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.306/1.306, allocations: 222.9 MB / 268.3 MB, free: 7.711 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1228/0.1228, allocations: 23.35 MB / 346 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001743/0.001743, allocations: 103.8 kB / 417.5 MB, free: 30.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08432/0.08607, allocations: 59.37 MB / 476.8 MB, free: 3.477 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.02737/0.1135, allocations: 20.86 MB / 497.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008238/0.1143, allocations: 498.6 kB / 498.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.1144, allocations: 7.938 kB / 498.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.1145, allocations: 15.84 kB / 498.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.263e-05/0.1146, allocations: 47.62 kB / 498.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.672e-05/0.1147, allocations: 23.92 kB / 498.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.1149, allocations: 151.1 kB / 498.4 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.538e-05/0.115, allocations: 33.45 kB / 498.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.1151, allocations: 55.73 kB / 498.5 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.1152, allocations: 47.72 kB / 498.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.1152, allocations: 4 kB / 498.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.448e-05/0.1152, allocations: 4 kB / 498.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.1152, allocations: 15.94 kB / 498.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.065e-05/0.1153, allocations: 59.67 kB / 498.6 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1155, allocations: 123.5 kB / 498.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1155, allocations: 4 kB / 498.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1155, allocations: 0 / 498.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1155, allocations: 0 / 498.8 MB, free: 13.66 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.0004792/0.116, allocations: 434.8 kB / 499.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.116, allocations: 12.59 kB / 499.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.218e-05/0.1161, allocations: 12.84 kB / 499.2 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.1163, allocations: 220 kB / 499.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1163, allocations: 12.38 kB / 499.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.1163, allocations: 4.375 kB / 499.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1165, allocations: 81.86 kB / 499.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1165, allocations: 0 / 499.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1165, allocations: 4 kB / 499.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.1165, allocations: 4 kB / 499.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.55e-05/0.1166, allocations: 31.98 kB / 499.6 MB, free: 12.77 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.0005277/0.1171, allocations: 491.2 kB / 0.4883 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1172, allocations: 54.56 kB / 0.4884 GB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.1173, allocations: 28.95 kB / 0.4884 GB, free: 12.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.1173, allocations: 4 kB / 0.4884 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1173, allocations: 46.5 kB / 0.4884 GB, free: 12.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.1173, allocations: 7.875 kB / 0.4885 GB, free: 12.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001932/0.1175, allocations: 81.5 kB / 0.4885 GB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1176, allocations: 59.34 kB / 0.4886 GB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1177, allocations: 179.8 kB / 0.4888 GB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.1177, allocations: 25.7 kB / 0.4888 GB, free: 11.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.1178, allocations: 112 kB / 0.4889 GB, free: 11.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1178, allocations: 19.89 kB / 0.4889 GB, free: 11.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1179, allocations: 25.7 kB / 0.4889 GB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.118, allocations: 318.8 kB / 0.4892 GB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.118, allocations: 12 kB / 0.4893 GB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/0.118, allocations: 15.94 kB / 0.4893 GB, free: 11.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.1183, allocations: 68.83 kB / 0.4893 GB, free: 11.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1183, allocations: 0 / 0.4893 GB, free: 11.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001082/0.1184, allocations: 81.5 kB / 0.4894 GB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1185, allocations: 8 kB / 0.4894 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.1185, allocations: 0 / 0.4894 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.1185, allocations: 0 / 0.4894 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.1186, allocations: 8 kB / 0.4894 GB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.1186, allocations: 7.875 kB / 0.4894 GB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.1186, allocations: 4.438 kB / 0.4894 GB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1186, allocations: 0 / 0.4894 GB, free: 10.98 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.0001299/0.1188, allocations: 129.2 kB / 0.4896 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1188, allocations: 15.81 kB / 0.4896 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.1189, allocations: 17 kB / 0.4896 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1189, allocations: 0 / 0.4896 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.1189, allocations: 3.938 kB / 0.4896 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.1189, allocations: 7.984 kB / 0.4896 GB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.1191, allocations: 201.6 kB / 0.4898 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1191, allocations: 0 / 0.4898 GB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.802e-05/0.1192, allocations: 8 kB / 0.4898 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1192, allocations: 0 / 0.4898 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.1192, allocations: 0 / 0.4898 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1192, allocations: 0 / 0.4898 GB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1192, allocations: 11.94 kB / 0.4898 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.1194, allocations: 191.3 kB / 0.49 GB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.1194, allocations: 88.98 kB / 0.4901 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.1195, allocations: 3.938 kB / 0.4901 GB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.1196, allocations: 8 kB / 0.4901 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1196, allocations: 7.922 kB / 0.4901 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1196, allocations: 0 / 0.4901 GB, free: 10.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1197, allocations: 139.3 kB / 0.4902 GB, free: 10.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1197, allocations: 3.938 kB / 0.4902 GB, free: 10.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1199, allocations: 23.91 kB / 0.4903 GB, free: 10.05 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 7.631e-05/0.12, allocations: 95.19 kB / 0.4904 GB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 9.677e-05/0.1201, allocations: 35.94 kB / 0.4904 GB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1201, allocations: 0 / 0.4904 GB, free: 9.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.014e-05/0.1202, allocations: 19.98 kB / 0.4904 GB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004362/0.1206, allocations: 59.14 kB / 0.4905 GB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/0.1211, allocations: 345.9 kB / 0.4908 GB, free: 9.469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.1214, allocations: 0.7087 MB / 0.4915 GB, free: 8.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.805e-05/0.1215, allocations: 13.06 kB / 0.4915 GB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.1215, allocations: 15.44 kB / 0.4915 GB, free: 8.699 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1215, allocations: 0 / 0.4915 GB, free: 8.699 MB / 366.1 MB Notification: Performance of Templates: time 0.003699/0.1252, allocations: 1.671 MB / 0.4931 GB, free: 7.066 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)