Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.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.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 183.2 kB / 15.98 MB, free: 5.77 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.277/1.277, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 96.45 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.3399/0.3399, allocations: 36.66 MB / 376.7 MB, free: 41.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 446.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 58.92 MB / 0.4935 GB, free: 0.8633 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/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-master/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.SkinHeatTransferOnBloodFlow): time 0.2162/0.3196, allocations: 19.18 MB / 0.5122 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009984/0.3206, allocations: 484.8 kB / 0.5127 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3208, allocations: 11.25 kB / 0.5127 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.321, allocations: 16.39 kB / 0.5127 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.3211, allocations: 39.89 kB / 0.5127 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.833e-05/0.3212, allocations: 8.5 kB / 0.5127 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.3214, allocations: 106.2 kB / 0.5128 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.3215, allocations: 27.56 kB / 0.5129 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.3216, allocations: 33.25 kB / 0.5129 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.23e-05/0.3217, allocations: 42.41 kB / 0.5129 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3217, allocations: 3.219 kB / 0.5129 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.3217, allocations: 3 kB / 0.5129 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.3217, allocations: 12.44 kB / 0.513 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.856e-05/0.3218, allocations: 46.97 kB / 0.513 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.3219, allocations: 84.39 kB / 0.5131 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.322, allocations: 0 / 0.5131 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.322, allocations: 0 / 0.5131 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.322, allocations: 3.938 kB / 0.5131 GB, free: 36.11 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004273/0.3224, allocations: 405.5 kB / 0.5135 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3224, allocations: 12.88 kB / 0.5135 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3225, allocations: 14.69 kB / 0.5135 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.3227, allocations: 210.7 kB / 0.5137 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.3227, allocations: 3.5 kB / 0.5137 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3227, allocations: 7.062 kB / 0.5137 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3228, allocations: 61.66 kB / 0.5138 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3228, allocations: 0 / 0.5138 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3229, allocations: 0 / 0.5138 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3229, allocations: 0 / 0.5138 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.3229, allocations: 25 kB / 0.5138 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.3234, allocations: 493.2 kB / 0.5143 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.3234, allocations: 173 kB / 0.5144 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.658e-05/0.3235, allocations: 84.14 kB / 0.5145 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3235, allocations: 79.03 kB / 0.5146 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.3235, allocations: 106.6 kB / 0.5147 GB, free: 34.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.3235, allocations: 0 / 0.5147 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 7.804e-05/0.3236, allocations: 40.34 kB / 0.5147 GB, free: 34.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.3236, allocations: 130.6 kB / 0.5149 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.3238, allocations: 185.2 kB / 0.515 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.523e-06/0.3238, allocations: 29.7 kB / 0.5151 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.446e-05/0.3239, allocations: 107.1 kB / 0.5152 GB, free: 34.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-06/0.3239, allocations: 0 / 0.5152 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.3239, allocations: 21.38 kB / 0.5152 GB, free: 34.15 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.138e-05/0.324, allocations: 321.4 kB / 0.5155 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.324, allocations: 3.891 kB / 0.5155 GB, free: 33.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.324, allocations: 0 / 0.5155 GB, free: 33.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.613e-05/0.324, allocations: 16.59 kB / 0.5155 GB, free: 33.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3241, allocations: 0 / 0.5155 GB, free: 33.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.829e-05/0.3242, allocations: 44.36 kB / 0.5155 GB, free: 33.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3242, allocations: 6.188 kB / 0.5156 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3242, allocations: 0 / 0.5156 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3242, allocations: 0 / 0.5156 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.981e-05/0.3243, allocations: 7.531 kB / 0.5156 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3243, allocations: 3.938 kB / 0.5156 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.948e-05/0.3243, allocations: 4.578 kB / 0.5156 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.3243, allocations: 7 kB / 0.5156 GB, free: 33.78 MB / 378.7 MB 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 (1): * Single equations (assignments): 1 * 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 5.84e-05/0.3244, allocations: 196.6 kB / 0.5158 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.3244, allocations: 115.8 kB / 0.5159 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.3245, allocations: 112.4 kB / 0.516 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-05/0.3245, allocations: 191.5 kB / 0.5162 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/0.3245, allocations: 177 kB / 0.5163 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.3246, allocations: 186.1 kB / 0.5165 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.3247, allocations: 436.9 kB / 0.5169 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.3248, allocations: 101.7 kB / 0.517 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.3248, allocations: 105.5 kB / 0.5171 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-05/0.3248, allocations: 184.1 kB / 0.5173 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.3249, allocations: 189.1 kB / 0.5175 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.282e-05/0.3249, allocations: 181 kB / 0.5177 GB, free: 31.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.412e-05/0.3249, allocations: 188.1 kB / 0.5178 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.3251, allocations: 0.8626 MB / 0.5187 GB, free: 30.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.591e-05/0.3252, allocations: 198.2 kB / 0.5189 GB, free: 30.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/0.3252, allocations: 185.3 kB / 0.519 GB, free: 30.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.978e-05/0.3253, allocations: 101 kB / 0.5191 GB, free: 30.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.3253, allocations: 181 kB / 0.5193 GB, free: 29.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.3253, allocations: 104.5 kB / 0.5194 GB, free: 29.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.3254, allocations: 139.7 kB / 0.5195 GB, free: 29.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3254, allocations: 4 kB / 0.5195 GB, free: 29.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000374/0.3258, allocations: 16.09 kB / 0.5196 GB, free: 29.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.551e-05/0.3259, allocations: 166.9 kB / 0.5197 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.957e-05/0.326, allocations: 3.766 kB / 0.5197 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.326, allocations: 0 / 0.5197 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.326, allocations: 3.938 kB / 0.5197 GB, free: 29.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005191/0.3265, allocations: 0.5834 MB / 0.5203 GB, free: 28.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.3269, allocations: 294.8 kB / 0.5206 GB, free: 28.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.327, allocations: 0.6957 MB / 0.5213 GB, free: 28.01 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.071e-05/0.3271, allocations: 10 kB / 0.5213 GB, free: 28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.3271, allocations: 18.42 kB / 0.5213 GB, free: 28 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.3271, allocations: 0 / 0.5213 GB, free: 28 MB / 378.7 MB Notification: Performance of Templates: time 0.003968/0.3311, allocations: 1.501 MB / 0.5228 GB, free: 27.87 MB / 378.7 MB make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile (rm -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; mkfifo Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe >> ../files/Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.sim & ./Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1)