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.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.07367/0.07367, allocations: 11.14 MB / 20.98 MB, free: 4.668 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01982/0.09349, allocations: 4.806 MB / 25.78 MB, free: 64 kB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000922/0.000922, allocations: 76.56 kB / 26.61 MB, free: 8.109 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002439, allocations: 448.9 kB / 27.05 MB, free: 7.867 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007629/0.0007629, allocations: 156.5 kB / 27.94 MB, free: 7.266 MB / 33.03 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001824, allocations: 478.2 kB / 28.41 MB, free: 6.918 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9264/0.9264, allocations: 177.2 MB / 206.3 MB, free: 4.43 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2247/1.151, allocations: 53.65 MB / 259.9 MB, free: 1.016 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1025/0.1025, allocations: 17.61 MB / 278.3 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01251/0.115, allocations: 6.518 MB / 284.8 MB, free: 8.207 MB / 282.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") translateModel(Physiolibrary.Thermal.Examples.MuscleHeat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 286.1 MB, free: 6.949 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.708e-05, allocations: 6.312 kB / 286.1 MB, free: 6.941 MB / 282.7 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.009271/0.009288, allocations: 2.513 MB / 288.6 MB, free: 4.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.009948, allocations: 0.5102 MB / 289.1 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.01003, allocations: 7.938 kB / 289.1 MB, free: 3.887 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.538e-05/0.01008, allocations: 19.78 kB / 289.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.198e-05/0.01017, allocations: 63.42 kB / 289.2 MB, free: 3.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.938e-05/0.01023, allocations: 23.95 kB / 289.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.01038, allocations: 170.8 kB / 289.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.102e-05/0.01046, allocations: 26.33 kB / 289.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001263/0.01058, allocations: 103.7 kB / 289.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.222e-05/0.01068, allocations: 39.91 kB / 289.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.0107, allocations: 8 kB / 289.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.01071, allocations: 8 kB / 289.6 MB, free: 3.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.01073, allocations: 15.88 kB / 289.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.01077, allocations: 35.94 kB / 289.6 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.0109, allocations: 83.64 kB / 289.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.258e-05/0.01092, allocations: 0 / 289.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01092, allocations: 0 / 289.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.01093, allocations: 4 kB / 289.7 MB, free: 3.297 MB / 282.7 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.0004248/0.01136, allocations: 375.8 kB / 290.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.01139, allocations: 15.89 kB / 290.1 MB, free: 2.891 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.01143, allocations: 20.92 kB / 290.1 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.01159, allocations: 166 kB / 290.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.01161, allocations: 8.375 kB / 290.3 MB, free: 2.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.01162, allocations: 4.375 kB / 290.3 MB, free: 2.672 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.01171, allocations: 70.16 kB / 290.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.01172, allocations: 192 / 290.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.01173, allocations: 384 / 290.4 MB, free: 2.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.01173, allocations: 3.938 kB / 290.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.302e-05/0.01176, allocations: 12 kB / 290.4 MB, free: 2.582 MB / 282.7 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.000301/0.01206, allocations: 228 kB / 290.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.793e-05/0.01213, allocations: 38.55 kB / 290.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.01215, allocations: 12.98 kB / 290.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-06/0.01216, allocations: 8 kB / 290.6 MB, free: 2.273 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.01218, allocations: 34.5 kB / 290.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.01218, allocations: 0 / 290.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001062/0.01229, allocations: 49.69 kB / 290.7 MB, free: 2.176 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.01232, allocations: 55.39 kB / 290.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.372e-05/0.0124, allocations: 162.6 kB / 290.9 MB, free: 1.938 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.01241, allocations: 25.7 kB / 291 MB, free: 1.906 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.01245, allocations: 104.1 kB / 291.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.01247, allocations: 23.78 kB / 291.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-05/0.0125, allocations: 21.64 kB / 291.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.01259, allocations: 330.8 kB / 291.4 MB, free: 1.418 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.01259, allocations: 4 kB / 291.4 MB, free: 1.414 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.807e-06/0.0126, allocations: 8 kB / 291.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.022e-05/0.01264, allocations: 32.77 kB / 291.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01265, allocations: 0 / 291.5 MB, free: 1.371 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.108e-05/0.0127, allocations: 50.05 kB / 291.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.01271, allocations: 8 kB / 291.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.01271, allocations: 64 / 291.5 MB, free: 1.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.01272, allocations: 4 kB / 291.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.208e-05/0.0128, allocations: 11.94 kB / 291.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.01281, allocations: 0 / 291.6 MB, free: 1.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.01282, allocations: 12 kB / 291.6 MB, free: 1.281 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-06/0.01283, allocations: 0 / 291.6 MB, free: 1.281 MB / 282.7 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.0001091/0.01294, allocations: 121.5 kB / 291.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.01295, allocations: 4 kB / 291.7 MB, free: 1.152 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.01298, allocations: 21.14 kB / 291.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01298, allocations: 0 / 291.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.01298, allocations: 0 / 291.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.01299, allocations: 0 / 291.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.542e-05/0.01308, allocations: 93.81 kB / 291.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01308, allocations: 7.938 kB / 291.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.99e-05/0.01313, allocations: 11.98 kB / 291.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.01315, allocations: 7.953 kB / 291.8 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01315, allocations: 3.984 kB / 291.8 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.01316, allocations: 4 kB / 291.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.01316, allocations: 0 / 291.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.01316, allocations: 0 / 291.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.01328, allocations: 159.4 kB / 292 MB, free: 0.8164 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.01329, allocations: 4 kB / 292 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.439e-05/0.01332, allocations: 0 / 292 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.01334, allocations: 4.016 kB / 292 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.01334, allocations: 8 kB / 292 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.01337, allocations: 41.86 kB / 292 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01337, allocations: 0 / 292 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001272/0.0135, allocations: 31.89 kB / 292.1 MB, free: 0.7266 MB / 282.7 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 5.426e-05/0.01355, allocations: 76.36 kB / 292.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.01361, allocations: 36.83 kB / 292.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.01362, allocations: 0 / 292.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.28e-05/0.01363, allocations: 16.86 kB / 292.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.01382, allocations: 63.83 kB / 292.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00326/0.01708, allocations: 320.4 kB / 292.6 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.01712, allocations: 63.34 kB / 292.6 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.456e-05/0.01716, allocations: 8.969 kB / 292.7 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.01723, allocations: 79.34 kB / 292.7 MB, free: 12 kB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01723, allocations: 0 / 292.7 MB, free: 12 kB / 282.7 MB Notification: Performance of Templates: time 0.003082/0.02031, allocations: 1.816 MB / 294.5 MB, free: 14.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.makefile [Timeout 660] (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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.MuscleHeat.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7607025131583214]