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/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.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/Chemical 1.4.0-master/package.mo): time 0.1038/0.1038, allocations: 15.27 MB / 30.54 MB, free: 5.719 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.0007884/0.0007883, allocations: 110.8 kB / 35.57 MB, free: 1.129 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.0008951/0.0008951, allocations: 180.5 kB / 40.68 MB, free: 4.742 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.291/1.291, allocations: 223.3 MB / 268.9 MB, free: 2.035 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.4 MB / 347.7 MB, free: 6.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004663, allocations: 12 kB / 420.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2339, allocations: 60.47 MB / 480.7 MB, free: 36.42 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.ThermalBody_QHP): time 0.02285/0.2568, allocations: 22.2 MB / 0.4911 GB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00166/0.2584, allocations: 0.7985 MB / 0.4919 GB, free: 13.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003229/0.2588, allocations: 15.94 kB / 0.4919 GB, free: 13.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.259, allocations: 63.45 kB / 0.492 GB, free: 13.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.2594, allocations: 158.6 kB / 0.4921 GB, free: 13.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2596, allocations: 75.92 kB / 0.4922 GB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004535/0.26, allocations: 0.5519 MB / 0.4927 GB, free: 12.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.2603, allocations: 140.5 kB / 0.4929 GB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2604, allocations: 159.4 kB / 0.493 GB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.2607, allocations: 179.1 kB / 0.4932 GB, free: 12.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.2607, allocations: 24 kB / 0.4932 GB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.012e-05/0.2608, allocations: 16 kB / 0.4932 GB, free: 12.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.345e-05/0.2608, allocations: 59.69 kB / 0.4933 GB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.261, allocations: 240.5 kB / 0.4935 GB, free: 11.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.2613, allocations: 422.4 kB / 0.4939 GB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2613, allocations: 0 / 0.4939 GB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2613, allocations: 3.938 kB / 0.4939 GB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2613, allocations: 0 / 0.4939 GB, free: 11.43 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.0008177/0.2621, allocations: 0.6583 MB / 0.4946 GB, free: 10.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2622, allocations: 12.03 kB / 0.4946 GB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.2622, allocations: 48.38 kB / 0.4946 GB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.2625, allocations: 327.8 kB / 0.4949 GB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.2626, allocations: 24.94 kB / 0.495 GB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.2626, allocations: 28.38 kB / 0.495 GB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.263, allocations: 261.1 kB / 0.4952 GB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.263, allocations: 3.906 kB / 0.4952 GB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.2631, allocations: 12 kB / 0.4952 GB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2631, allocations: 4 kB / 0.4952 GB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002962/0.2634, allocations: 190.2 kB / 0.4954 GB, free: 9.785 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.001346/0.2647, allocations: 1.555 MB / 0.4969 GB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/0.2651, allocations: 215.2 kB / 0.4972 GB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.2653, allocations: 154.8 kB / 0.4973 GB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2653, allocations: 240 / 0.4973 GB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.2653, allocations: 34.8 kB / 0.4973 GB, free: 7.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 9.92e-07/0.2653, allocations: 0 / 0.4973 GB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005123/0.2658, allocations: 313.2 kB / 0.4976 GB, free: 7.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.2659, allocations: 59.34 kB / 0.4977 GB, free: 7.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.2661, allocations: 317.7 kB / 0.498 GB, free: 6.914 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2661, allocations: 33.7 kB / 0.498 GB, free: 6.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.2662, allocations: 200.6 kB / 0.4982 GB, free: 6.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.764e-05/0.2663, allocations: 90.66 kB / 0.4983 GB, free: 6.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.2663, allocations: 29.7 kB / 0.4983 GB, free: 6.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.2664, allocations: 350.7 kB / 0.4987 GB, free: 6.199 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2665, allocations: 63.98 kB / 0.4987 GB, free: 6.137 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.2666, allocations: 79.95 kB / 0.4988 GB, free: 6.059 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2676, allocations: 389.7 kB / 0.4992 GB, free: 5.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2677, allocations: 0 / 0.4992 GB, free: 5.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003396/0.268, allocations: 257.5 kB / 0.4994 GB, free: 5.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.268, allocations: 11.98 kB / 0.4994 GB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.268, allocations: 0 / 0.4994 GB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2681, allocations: 0 / 0.4994 GB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.2683, allocations: 47.98 kB / 0.4995 GB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2683, allocations: 3.938 kB / 0.4995 GB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.2685, allocations: 39.67 kB / 0.4995 GB, free: 5.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.2685, allocations: 11.98 kB / 0.4995 GB, free: 5.305 MB / 350.1 MB Warning: Assuming fixed start value for the following 4 variables: core.relativeHeat:VARIABLE(flow=false start = core.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = "J" fixed = true nominal = 4186800.0 ) "Current accumulated heat = weight*(T - 37degC)*specificHeat" type: Real skin.relativeHeat:VARIABLE(flow=false 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001958/0.2687, allocations: 174.1 kB / 0.4997 GB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.084e-05/0.2688, allocations: 43.47 kB / 0.4997 GB, free: 5.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.504e-05/0.2689, allocations: 48.16 kB / 0.4998 GB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2689, allocations: 4 kB / 0.4998 GB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.2689, allocations: 0 / 0.4998 GB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2689, allocations: 3.984 kB / 0.4998 GB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003665/0.2693, allocations: 405.2 kB / 0.5002 GB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2693, allocations: 3.938 kB / 0.5002 GB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/0.2696, allocations: 43.98 kB / 0.5002 GB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2696, allocations: 7.984 kB / 0.5002 GB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.2696, allocations: 0 / 0.5002 GB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2696, allocations: 4 kB / 0.5002 GB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2696, allocations: 0 / 0.5002 GB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.2701, allocations: 478.9 kB / 0.5007 GB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.2703, allocations: 128.6 kB / 0.5008 GB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.634e-05/0.2703, allocations: 8 kB / 0.5008 GB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.2705, allocations: 11.98 kB / 0.5008 GB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2705, allocations: 15.98 kB / 0.5008 GB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.2706, allocations: 4 kB / 0.5009 GB, free: 3.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.2707, allocations: 235.2 kB / 0.5011 GB, free: 3.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2707, allocations: 0 / 0.5011 GB, free: 3.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.271, allocations: 99.75 kB / 0.5012 GB, free: 3.535 MB / 350.1 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 (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.866e-05/0.2711, allocations: 103.1 kB / 0.5013 GB, free: 3.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000324/0.2715, allocations: 203.8 kB / 0.5015 GB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2715, allocations: 0 / 0.5015 GB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.2716, allocations: 107.9 kB / 0.5016 GB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006265/0.2722, allocations: 101.5 kB / 0.5017 GB, free: 3.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2733, allocations: 1.06 MB / 0.5027 GB, free: 1.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.2735, allocations: 0.7992 MB / 0.5035 GB, free: 1.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001504/0.2737, allocations: 34.94 kB / 0.5035 GB, free: 1.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.296e-05/0.2738, allocations: 27.44 kB / 0.5035 GB, free: 1.047 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2738, allocations: 0 / 0.5035 GB, free: 1.047 MB / 350.1 MB Notification: Performance of Templates: time 0.006792/0.2806, allocations: 3.593 MB / 0.507 GB, free: 13.5 MB / 366.1 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)