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/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1046/0.1046, allocations: 15.52 MB / 34.26 MB, free: 4.617 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 116.4 kB / 41.83 MB, free: 6.305 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 190.2 kB / 49.48 MB, free: 10.1 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.5 MB / 282.6 MB, free: 8.879 MB / 206.1 MB " [Timeout remaining time 178] 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.1525/0.1525, allocations: 23.69 MB / 365.9 MB, free: 9.141 MB / 286.1 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.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: "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Thermal.Examples.ThermalBody_QHP,fileNamePrefix="Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003518/0.003518, allocations: 123.8 kB / 0.496 GB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3201, allocations: 62.67 MB / 0.5572 GB, free: 6.191 MB / 382.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.03771/0.3578, allocations: 24.91 MB / 0.5815 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.3596, allocations: 0.779 MB / 0.5823 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.3599, allocations: 15.88 kB / 0.5823 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.3601, allocations: 83.14 kB / 0.5824 GB, free: 12.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003348/0.3605, allocations: 190.4 kB / 0.5825 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.3607, allocations: 95.86 kB / 0.5826 GB, free: 12.23 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006201/0.3613, allocations: 0.5559 MB / 0.5832 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.3616, allocations: 120.7 kB / 0.5833 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002359/0.3618, allocations: 191.3 kB / 0.5835 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.3621, allocations: 211 kB / 0.5837 GB, free: 11.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.868e-05/0.3622, allocations: 32 kB / 0.5837 GB, free: 11.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.174e-05/0.3623, allocations: 32 kB / 0.5837 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.739e-05/0.3623, allocations: 75.69 kB / 0.5838 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.3626, allocations: 234.9 kB / 0.584 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00056/0.3631, allocations: 466 kB / 0.5845 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.3631, allocations: 4 kB / 0.5845 GB, free: 10.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3631, allocations: 0 / 0.5845 GB, free: 10.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.3632, allocations: 0 / 0.5845 GB, free: 10.33 MB / 414.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.001126/0.3643, allocations: 0.6634 MB / 0.5851 GB, free: 9.633 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.3643, allocations: 23.95 kB / 0.5851 GB, free: 9.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.755e-05/0.3644, allocations: 62.73 kB / 0.5852 GB, free: 9.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.179e-05/0.3645, allocations: 52.61 kB / 0.5853 GB, free: 9.488 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/0.365, allocations: 274.2 kB / 0.5855 GB, free: 9.199 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.365, allocations: 21.03 kB / 0.5855 GB, free: 9.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.365, allocations: 36.36 kB / 0.5856 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.3655, allocations: 250.2 kB / 0.5858 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3655, allocations: 3.953 kB / 0.5858 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.3656, allocations: 16 kB / 0.5858 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.3656, allocations: 8 kB / 0.5858 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003628/0.3659, allocations: 190.5 kB / 0.586 GB, free: 8.68 MB / 414.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.001807/0.3677, allocations: 1.513 MB / 0.5875 GB, free: 6.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.3681, allocations: 201.6 kB / 0.5877 GB, free: 6.762 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.3683, allocations: 117.3 kB / 0.5878 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.3684, allocations: 240 / 0.5878 GB, free: 6.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3684, allocations: 42.73 kB / 0.5878 GB, free: 6.594 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.392e-06/0.3684, allocations: 0 / 0.5878 GB, free: 6.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006332/0.369, allocations: 324 kB / 0.5882 GB, free: 6.273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.3691, allocations: 55.41 kB / 0.5882 GB, free: 6.207 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003479/0.3694, allocations: 317.7 kB / 0.5885 GB, free: 5.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.3695, allocations: 33.7 kB / 0.5885 GB, free: 5.848 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.3696, allocations: 192.8 kB / 0.5887 GB, free: 5.652 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3697, allocations: 99.23 kB / 0.5888 GB, free: 5.555 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.3698, allocations: 45.7 kB / 0.5889 GB, free: 5.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.37, allocations: 350.7 kB / 0.5892 GB, free: 5.152 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.3701, allocations: 75.97 kB / 0.5893 GB, free: 5.078 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.3703, allocations: 65.22 kB / 0.5893 GB, free: 5.016 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.3714, allocations: 390.5 kB / 0.5897 GB, free: 4.633 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3714, allocations: 0 / 0.5897 GB, free: 4.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000437/0.3718, allocations: 265.3 kB / 0.59 GB, free: 4.367 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3719, allocations: 8 kB / 0.59 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3719, allocations: 4 kB / 0.59 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3719, allocations: 0 / 0.59 GB, free: 4.355 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.3722, allocations: 55.91 kB / 0.59 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.3722, allocations: 4 kB / 0.59 GB, free: 4.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.3723, allocations: 23.78 kB / 0.59 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.3723, allocations: 4 kB / 0.5901 GB, free: 4.27 MB / 414.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 = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real GILumen.relativeHeat:VARIABLE(flow=false start = GILumen.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skeletalMuscle.relativeHeat:VARIABLE(flow=false start = skeletalMuscle.relativeHeat_start unit = \"J\" fixed = true nominal = 4.1868e6 ) \"Current accumulated heat = weight*(T - 37degC)*specificHeat\" type: Real skin.relativeHeat:VARIABLE(flow=false start = skin.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 (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.0002732/0.3726, allocations: 175.6 kB / 0.5902 GB, free: 4.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.216e-05/0.3727, allocations: 35.77 kB / 0.5903 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.3728, allocations: 52.19 kB / 0.5903 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3728, allocations: 4 kB / 0.5903 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.706e-05/0.3728, allocations: 3.984 kB / 0.5903 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.3728, allocations: 0 / 0.5903 GB, free: 3.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.3733, allocations: 372.3 kB / 0.5907 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3733, allocations: 0 / 0.5907 GB, free: 3.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.3736, allocations: 47.91 kB / 0.5907 GB, free: 3.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.3736, allocations: 4 kB / 0.5907 GB, free: 3.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3736, allocations: 8 kB / 0.5907 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3736, allocations: 0 / 0.5907 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3736, allocations: 4 kB / 0.5907 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/0.3743, allocations: 479.1 kB / 0.5912 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.3744, allocations: 55.72 kB / 0.5912 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.901e-05/0.3745, allocations: 4 kB / 0.5912 GB, free: 2.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3747, allocations: 8 kB / 0.5912 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3747, allocations: 19.91 kB / 0.5913 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.3747, allocations: 8 kB / 0.5913 GB, free: 2.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002512/0.375, allocations: 231.2 kB / 0.5915 GB, free: 2.723 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.375, allocations: 0 / 0.5915 GB, free: 2.723 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.3753, allocations: 91.89 kB / 0.5916 GB, free: 2.633 MB / 414.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 0.001006/0.3763, allocations: 1.013 MB / 0.5926 GB, free: 1.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003854/0.3767, allocations: 180.3 kB / 0.5927 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3767, allocations: 0 / 0.5927 GB, free: 1.414 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.3769, allocations: 103.9 kB / 0.5928 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006122/0.3775, allocations: 108.7 kB / 0.5929 GB, free: 1.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.3817, allocations: 3.165 MB / 0.596 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.3821, allocations: 0.7987 MB / 0.5968 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001645/0.3823, allocations: 34.91 kB / 0.5969 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.3825, allocations: 119.4 kB / 0.597 GB, free: 12.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.142e-06/0.3825, allocations: 4 kB / 0.597 GB, free: 12.98 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/0.4236, allocations: 7.794 MB / 0.6046 GB, free: 5.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 2.922 kB / 0.6046 GB, free: 5.301 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Thermal_Examples_ThermalBody_QHP.fmu > Physiolibrary_Physiolibrary.Thermal.Examples.ThermalBody_QHP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.752271414035931] Failed to read output from testmodel.py, exit status != 0: 12.053222196991555 12.078070901 11.711660023 Calling exit ...