Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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 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) Running command: translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") translateModel(Physiolibrary.Thermal.Examples.ThermalBody_QHP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01176/0.01176, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 223.2 MB / 239 MB, free: 1.781 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000966/0.0009661, allocations: 103.4 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2375/0.2375, allocations: 37.08 MB / 378.4 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004278, allocations: 12 kB / 449 MB, free: 61.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 60.07 MB / 0.4971 GB, free: 1.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4371/0.5787, allocations: 93.15 MB / 0.5881 GB, free: 9.691 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.579, allocations: 74.53 kB / 0.5882 GB, free: 9.652 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/Thermal.mo:312:7-312:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System ambient.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Physiolibrary.Thermal.Sources.UnlimitedHeat$ambient. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.02153/0.6005, allocations: 8.768 MB / 0.5967 GB, free: 2.262 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6006, allocations: 0 / 0.5967 GB, free: 2.262 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.6006, allocations: 12 kB / 0.5967 GB, free: 2.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0009429/0.6015, allocations: 0.6629 MB / 0.5974 GB, free: 1.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6016, allocations: 16.02 kB / 0.5974 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.6017, allocations: 59.25 kB / 0.5974 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.6021, allocations: 318 kB / 0.5977 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.783e-05/0.6021, allocations: 22.69 kB / 0.5978 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.681e-05/0.6022, allocations: 30 kB / 0.5978 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.6026, allocations: 241.7 kB / 0.598 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.6026, allocations: 0 / 0.598 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.6027, allocations: 15.69 kB / 0.598 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.6027, allocations: 4 kB / 0.598 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.603, allocations: 194.9 kB / 0.5982 GB, free: 0.8359 MB / 394.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.001643/0.6046, allocations: 1.55 MB / 0.5997 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.605, allocations: 223.6 kB / 0.6 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.605, allocations: 240 / 0.6 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.605, allocations: 41.98 kB / 0.6 GB, free: 15.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=27): time 1.042e-06/0.6051, allocations: 0 / 0.6 GB, free: 15.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005384/0.6056, allocations: 316.8 kB / 0.6003 GB, free: 14.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6056, allocations: 59.34 kB / 0.6004 GB, free: 14.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.6059, allocations: 289.4 kB / 0.6006 GB, free: 14.54 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.606, allocations: 29.14 kB / 0.6007 GB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.6061, allocations: 194.6 kB / 0.6008 GB, free: 14.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.311e-05/0.6061, allocations: 94.94 kB / 0.6009 GB, free: 14.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.6062, allocations: 3.125 kB / 0.6009 GB, free: 14.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6063, allocations: 350.4 kB / 0.6013 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.6064, allocations: 67.61 kB / 0.6013 GB, free: 13.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.6065, allocations: 75.39 kB / 0.6014 GB, free: 13.87 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.6067, allocations: 78.48 kB / 0.6015 GB, free: 13.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6067, allocations: 4 kB / 0.6015 GB, free: 13.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003984/0.6071, allocations: 262.5 kB / 0.6017 GB, free: 13.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.6071, allocations: 4 kB / 0.6017 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.6071, allocations: 0 / 0.6017 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.6072, allocations: 7.953 kB / 0.6018 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/0.6074, allocations: 47.11 kB / 0.6018 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.6075, allocations: 0 / 0.6018 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.6076, allocations: 30.36 kB / 0.6018 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.6076, allocations: 6.312 kB / 0.6018 GB, free: 13.55 MB / 410.7 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(start = core.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(start = skin.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 (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002453/0.6079, allocations: 171.2 kB / 0.602 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.608, allocations: 42.84 kB / 0.602 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.788e-05/0.6081, allocations: 44.22 kB / 0.6021 GB, free: 13.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6081, allocations: 4 kB / 0.6021 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6081, allocations: 7.953 kB / 0.6021 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6081, allocations: 3.984 kB / 0.6021 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.6085, allocations: 396.7 kB / 0.6025 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.6085, allocations: 0 / 0.6025 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.6088, allocations: 51.03 kB / 0.6025 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.6088, allocations: 4 kB / 0.6025 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.6089, allocations: 7.188 kB / 0.6025 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6089, allocations: 0 / 0.6025 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.6089, allocations: 3.953 kB / 0.6025 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.6094, allocations: 472.6 kB / 0.603 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.6096, allocations: 131.3 kB / 0.6031 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.6096, allocations: 7.125 kB / 0.6031 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.6098, allocations: 11.86 kB / 0.6031 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.6099, allocations: 15.94 kB / 0.6031 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.6099, allocations: 7.812 kB / 0.6032 GB, free: 12.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001842/0.6101, allocations: 233.7 kB / 0.6034 GB, free: 12.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6101, allocations: 4 kB / 0.6034 GB, free: 12.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003184/0.6104, allocations: 98.84 kB / 0.6035 GB, free: 12.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (core.relativeHeat,GILumen.relativeHeat,skeletalMuscle.relativeHeat,skin.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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000105/0.6105, allocations: 99.42 kB / 0.6036 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003358/0.6109, allocations: 201.2 kB / 0.6038 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6109, allocations: 0 / 0.6038 GB, free: 11.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.611, allocations: 108.2 kB / 0.6039 GB, free: 11.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004862/0.6115, allocations: 98.83 kB / 0.604 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.6128, allocations: 1.013 MB / 0.6049 GB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.6131, allocations: 0.8033 MB / 0.6057 GB, free: 9.902 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.6133, allocations: 30.95 kB / 0.6058 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.187e-05/0.6134, allocations: 23.44 kB / 0.6058 GB, free: 9.852 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6134, allocations: 4 kB / 0.6058 GB, free: 9.848 MB / 410.7 MB Notification: Performance of Templates: time 0.006572/0.62, allocations: 3.543 MB / 0.6092 GB, free: 6.379 MB / 410.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1)