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.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.05257/0.05257, allocations: 11.16 MB / 30.25 MB, free: 5.074 MB / 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.0007473/0.0007473, allocations: 91.38 kB / 37.83 MB, free: 7.477 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.001041/0.001041, allocations: 160.7 kB / 45.51 MB, free: 10.92 MB / 44.04 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.8986/0.8986, allocations: 177.1 MB / 230.2 MB, free: 6.566 MB / 202.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.2131/0.2131, allocations: 17.61 MB / 308.7 MB, free: 1.75 MB / 266.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: "" <> 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 1.573e-06/1.573e-06, allocations: 0 / 453.1 MB, free: 6.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.156e-05/2.313e-05, allocations: 2.281 kB / 453.1 MB, free: 6.031 MB / 410.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.ThermalBody_QHP): time 0.3084/0.3084, allocations: 24.9 MB / 478 MB, free: 42.31 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3098, allocations: 0.7907 MB / 478.8 MB, free: 42.2 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002179/0.31, allocations: 13.38 kB / 478.8 MB, free: 42.19 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000175/0.3102, allocations: 85.38 kB / 478.9 MB, free: 42.14 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.3105, allocations: 201.1 kB / 479.1 MB, free: 42.07 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3106, allocations: 91.03 kB / 479.2 MB, free: 42.07 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.311, allocations: 0.5911 MB / 479.8 MB, free: 41.84 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002065/0.3112, allocations: 119.3 kB / 479.9 MB, free: 41.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.3114, allocations: 285.5 kB / 480.2 MB, free: 41.8 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.3116, allocations: 149.9 kB / 480.3 MB, free: 41.78 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.3116, allocations: 34.25 kB / 480.3 MB, free: 41.78 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.3116, allocations: 36.91 kB / 480.4 MB, free: 41.77 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.945e-05/0.3117, allocations: 77.17 kB / 480.4 MB, free: 41.76 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.3118, allocations: 160.6 kB / 480.6 MB, free: 41.74 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002995/0.3121, allocations: 467.1 kB / 481.1 MB, free: 41.61 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3121, allocations: 0 / 481.1 MB, free: 41.61 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3121, allocations: 4 kB / 481.1 MB, free: 41.61 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.3121, allocations: 0 / 481.1 MB, free: 41.61 MB / 410.8 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.0006344/0.3127, allocations: 0.66 MB / 481.7 MB, free: 41.13 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3128, allocations: 12.97 kB / 481.7 MB, free: 41.13 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.3128, allocations: 62.72 kB / 481.8 MB, free: 41.07 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.409e-05/0.3129, allocations: 51.61 kB / 481.8 MB, free: 41.05 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002956/0.3132, allocations: 281.5 kB / 482.1 MB, free: 40.83 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.3132, allocations: 20.91 kB / 482.1 MB, free: 40.82 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.734e-05/0.3132, allocations: 31.39 kB / 482.2 MB, free: 40.81 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.3135, allocations: 249.5 kB / 482.4 MB, free: 40.69 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3135, allocations: 3.344 kB / 482.4 MB, free: 40.69 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.3135, allocations: 12.12 kB / 482.4 MB, free: 40.68 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3135, allocations: 9.406 kB / 482.4 MB, free: 40.68 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.3138, allocations: 189 kB / 482.6 MB, free: 40.61 MB / 410.8 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.0008954/0.3147, allocations: 0.8161 MB / 483.4 MB, free: 40.12 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.3149, allocations: 200.6 kB / 483.6 MB, free: 40.03 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3151, allocations: 123 kB / 483.8 MB, free: 39.98 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3151, allocations: 2.547 kB / 483.8 MB, free: 39.98 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3151, allocations: 37.36 kB / 483.8 MB, free: 39.93 MB / 410.8 MB Notification: Performance of pre-optimization done (n=27): time 2.434e-06/0.3151, allocations: 3.938 kB / 483.8 MB, free: 39.93 MB / 410.8 MB Notification: Performance of matching and sorting (n=27): time 0.0004501/0.3156, allocations: 316.5 kB / 484.1 MB, free: 39.79 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.3156, allocations: 53.81 kB / 484.2 MB, free: 39.72 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.3158, allocations: 324.5 kB / 484.5 MB, free: 39.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3158, allocations: 30.8 kB / 484.5 MB, free: 39.52 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3159, allocations: 196.3 kB / 484.7 MB, free: 39.36 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.316, allocations: 96.89 kB / 484.8 MB, free: 39.29 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.316, allocations: 45.5 kB / 484.8 MB, free: 39.25 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.99e-05/0.3161, allocations: 344.9 kB / 485.2 MB, free: 38.93 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-05/0.3162, allocations: 69.94 kB / 485.2 MB, free: 38.9 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.832e-05/0.3163, allocations: 70.84 kB / 485.3 MB, free: 38.87 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007251/0.317, allocations: 401.3 kB / 485.7 MB, free: 38.71 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.317, allocations: 9.125 kB / 485.7 MB, free: 38.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002912/0.3173, allocations: 266.4 kB / 486 MB, free: 38.57 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3173, allocations: 9.578 kB / 486 MB, free: 38.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3173, allocations: 0 / 486 MB, free: 38.57 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.3173, allocations: 1.469 kB / 486 MB, free: 38.57 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.3175, allocations: 54.69 kB / 486 MB, free: 38.56 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3175, allocations: 1.062 kB / 486 MB, free: 38.56 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.3176, allocations: 29.31 kB / 486.1 MB, free: 38.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.3176, allocations: 4.938 kB / 486.1 MB, free: 38.54 MB / 410.8 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.0001974/0.3178, allocations: 169.7 kB / 486.2 MB, free: 38.39 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.3178, allocations: 37.11 kB / 486.3 MB, free: 38.37 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.3179, allocations: 47.94 kB / 486.3 MB, free: 38.34 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3179, allocations: 3.312 kB / 486.3 MB, free: 38.34 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.3179, allocations: 0 / 486.3 MB, free: 38.34 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.3179, allocations: 1.156 kB / 486.3 MB, free: 38.34 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.3182, allocations: 339.5 kB / 486.7 MB, free: 38.1 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3182, allocations: 4 kB / 486.7 MB, free: 38.09 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.3184, allocations: 46.36 kB / 486.7 MB, free: 38.09 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3184, allocations: 1.469 kB / 486.7 MB, free: 38.09 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.3184, allocations: 5.312 kB / 486.7 MB, free: 38.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.3184, allocations: 1.312 kB / 486.7 MB, free: 38.09 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3184, allocations: 1.531 kB / 486.7 MB, free: 38.09 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.3188, allocations: 478 kB / 487.2 MB, free: 37.8 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.3189, allocations: 53.77 kB / 487.2 MB, free: 37.76 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.3189, allocations: 6.156 kB / 487.2 MB, free: 37.76 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.319, allocations: 5.156 kB / 487.2 MB, free: 37.75 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.3191, allocations: 23.91 kB / 487.3 MB, free: 37.75 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3191, allocations: 8.312 kB / 487.3 MB, free: 37.74 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001336/0.3192, allocations: 229.1 kB / 487.5 MB, free: 37.62 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.3192, allocations: 0 / 487.5 MB, free: 37.62 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.00025/0.3194, allocations: 96.48 kB / 487.6 MB, free: 37.6 MB / 410.8 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.000521/0.32, allocations: 1.002 MB / 488.6 MB, free: 36.78 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000279/0.3202, allocations: 188.3 kB / 488.8 MB, free: 36.71 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.3202, allocations: 0 / 488.8 MB, free: 36.71 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.3204, allocations: 97.55 kB / 488.9 MB, free: 36.68 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.3208, allocations: 104.9 kB / 489 MB, free: 36.64 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.3234, allocations: 3.118 MB / 492.1 MB, free: 34.64 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001173/0.3235, allocations: 190.7 kB / 492.3 MB, free: 34.55 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3237, allocations: 28.73 kB / 492.3 MB, free: 34.54 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.3238, allocations: 122.1 kB / 492.4 MB, free: 34.45 MB / 410.8 MB Notification: Performance of SimCode: time 1.132e-06/0.3238, allocations: 0 / 492.4 MB, free: 34.45 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3497, allocations: 8.594 MB / 0.4893 GB, free: 32.78 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.518, allocations: 15.95 kB / 0.4893 GB, free: 32.77 MB / 410.8 MB " [Timeout remaining time 652] (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: 9.445484747178853] Failed to read output from testmodel.py, exit status != 0: 7.601784129627049 7.611153614 7.297060258 Calling exit ...