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.08383/0.08383, allocations: 15.28 MB / 30.4 MB, free: 4.395 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.0009996/0.0009997, allocations: 105.1 kB / 35.38 MB, free: 3.461 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.001131/0.001131, allocations: 189.1 kB / 40.46 MB, free: 7.547 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.306/1.306, allocations: 222.9 MB / 268.3 MB, free: 7.172 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.126/0.126, allocations: 23.35 MB / 346 MB, free: 488 kB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 95.84 kB / 417.5 MB, free: 30.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0883/0.09, allocations: 59.38 MB / 476.8 MB, free: 3.445 MB / 334.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.02857/0.1186, allocations: 22.59 MB / 499.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.1207, allocations: 0.8063 MB / 0.4885 GB, free: 12.16 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.121, allocations: 15.88 kB / 0.4885 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002126/0.1212, allocations: 55.53 kB / 0.4886 GB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1215, allocations: 178.5 kB / 0.4887 GB, free: 11.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1217, allocations: 75.92 kB / 0.4888 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.1221, allocations: 0.5364 MB / 0.4893 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002254/0.1223, allocations: 148.6 kB / 0.4895 GB, free: 11.14 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1225, allocations: 171.3 kB / 0.4896 GB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.1227, allocations: 203 kB / 0.4898 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.1227, allocations: 24 kB / 0.4899 GB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.877e-05/0.1228, allocations: 24 kB / 0.4899 GB, free: 10.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.1229, allocations: 67.69 kB / 0.49 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.1231, allocations: 218.9 kB / 0.4902 GB, free: 10.45 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1234, allocations: 434.4 kB / 0.4906 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1234, allocations: 0 / 0.4906 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1234, allocations: 0 / 0.4906 GB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.1234, allocations: 4 kB / 0.4906 GB, free: 10.02 MB / 366.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.0009237/0.1244, allocations: 0.7321 MB / 0.4913 GB, free: 9.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.1244, allocations: 8.594 kB / 0.4913 GB, free: 9.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.48e-05/0.1245, allocations: 48.38 kB / 0.4913 GB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003304/0.1248, allocations: 331.7 kB / 0.4917 GB, free: 8.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1248, allocations: 28.88 kB / 0.4917 GB, free: 8.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1249, allocations: 24.38 kB / 0.4917 GB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004098/0.1253, allocations: 253.2 kB / 0.492 GB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1253, allocations: 8 kB / 0.492 GB, free: 8.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1254, allocations: 8 kB / 0.492 GB, free: 8.492 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.1254, allocations: 12 kB / 0.492 GB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.1257, allocations: 190.2 kB / 0.4922 GB, free: 8.293 MB / 366.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.001518/0.1272, allocations: 1.547 MB / 0.4937 GB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.1276, allocations: 217.6 kB / 0.4939 GB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.1278, allocations: 148.3 kB / 0.494 GB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.1278, allocations: 4.234 kB / 0.494 GB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.1279, allocations: 34.8 kB / 0.4941 GB, free: 6.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 1.323e-06/0.1279, allocations: 4 kB / 0.4941 GB, free: 6.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005485/0.1284, allocations: 319.7 kB / 0.4944 GB, free: 5.809 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.1284, allocations: 55.34 kB / 0.4944 GB, free: 5.742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/0.1287, allocations: 325.7 kB / 0.4947 GB, free: 5.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.1288, allocations: 29.7 kB / 0.4948 GB, free: 5.383 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.1289, allocations: 192.7 kB / 0.4949 GB, free: 5.191 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.1289, allocations: 102.6 kB / 0.495 GB, free: 5.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/0.129, allocations: 45.7 kB / 0.4951 GB, free: 5.039 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.1291, allocations: 354.7 kB / 0.4954 GB, free: 4.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1293, allocations: 67.97 kB / 0.4955 GB, free: 4.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.1294, allocations: 67.97 kB / 0.4956 GB, free: 4.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1305, allocations: 393.8 kB / 0.4959 GB, free: 4.164 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1305, allocations: 3.938 kB / 0.4959 GB, free: 4.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004012/0.1309, allocations: 265.4 kB / 0.4962 GB, free: 3.895 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1309, allocations: 4 kB / 0.4962 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.131, allocations: 0 / 0.4962 GB, free: 3.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.131, allocations: 4 kB / 0.4962 GB, free: 3.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002701/0.1312, allocations: 55.91 kB / 0.4963 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1313, allocations: 0 / 0.4963 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.1314, allocations: 23.75 kB / 0.4963 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.1314, allocations: 8 kB / 0.4963 GB, free: 3.801 MB / 366.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.0002007/0.1316, allocations: 165.3 kB / 0.4964 GB, free: 3.633 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.701e-05/0.1317, allocations: 39.53 kB / 0.4965 GB, free: 3.594 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.633e-05/0.1318, allocations: 52.14 kB / 0.4965 GB, free: 3.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1318, allocations: 4 kB / 0.4965 GB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1318, allocations: 0 / 0.4965 GB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1318, allocations: 0 / 0.4965 GB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.1323, allocations: 409.1 kB / 0.4969 GB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1323, allocations: 4 kB / 0.4969 GB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1325, allocations: 47.91 kB / 0.497 GB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1325, allocations: 7.984 kB / 0.497 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1326, allocations: 4 kB / 0.497 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1326, allocations: 0 / 0.497 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1326, allocations: 0 / 0.497 GB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.1332, allocations: 470.9 kB / 0.4974 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1333, allocations: 136.6 kB / 0.4976 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.1333, allocations: 8 kB / 0.4976 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.1335, allocations: 11.94 kB / 0.4976 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.1336, allocations: 19.95 kB / 0.4976 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1336, allocations: 8 kB / 0.4976 GB, free: 2.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.1338, allocations: 231.1 kB / 0.4978 GB, free: 2.125 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1338, allocations: 0 / 0.4978 GB, free: 2.125 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003119/0.1341, allocations: 91.84 kB / 0.4979 GB, free: 2.035 MB / 366.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 9.028e-05/0.1342, allocations: 111.1 kB / 0.498 GB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1346, allocations: 199.8 kB / 0.4982 GB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1346, allocations: 0 / 0.4982 GB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.1347, allocations: 115.8 kB / 0.4983 GB, free: 1.605 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006037/0.1353, allocations: 97.42 kB / 0.4984 GB, free: 1.512 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1365, allocations: 0.969 MB / 0.4994 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.1369, allocations: 0.7953 MB / 0.5001 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.137, allocations: 38.94 kB / 0.5002 GB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.1371, allocations: 23.44 kB / 0.5002 GB, free: 15.63 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1371, allocations: 0 / 0.5002 GB, free: 15.63 MB / 382.1 MB Notification: Performance of Templates: time 0.006212/0.1433, allocations: 3.619 MB / 0.5037 GB, free: 12.07 MB / 382.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)