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/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.06361/0.06361, allocations: 11.15 MB / 31 MB, free: 4.766 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.0008945/0.0008945, allocations: 90.36 kB / 38.74 MB, free: 6.816 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.0008937/0.0008937, allocations: 162.3 kB / 42.14 MB, free: 3.488 MB / 33.03 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.9276/0.9276, allocations: 177.2 MB / 222.6 MB, free: 6.301 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.1899/0.1899, allocations: 17.64 MB / 296.7 MB, free: 1.195 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: translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") translateModel(Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 320.9 MB, free: 14.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.23e-05, allocations: 4.281 kB / 320.9 MB, free: 14.2 MB / 298.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.SkinHeatTransferOnBloodFlow): time 0.02365/0.02367, allocations: 31.72 MB / 352.6 MB, free: 14.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000617/0.02428, allocations: 478.7 kB / 353 MB, free: 14.18 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.02435, allocations: 7.938 kB / 353.1 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.409e-05/0.02445, allocations: 19.8 kB / 353.1 MB, free: 14.15 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.02453, allocations: 47.56 kB / 353.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.885e-05/0.02457, allocations: 15.97 kB / 353.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.02469, allocations: 111.2 kB / 353.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.02477, allocations: 21.89 kB / 353.3 MB, free: 13.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.118e-05/0.02484, allocations: 55.88 kB / 353.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.25e-05/0.0249, allocations: 35.8 kB / 353.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.02492, allocations: 4 kB / 353.4 MB, free: 13.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-06/0.02492, allocations: 8 kB / 353.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.02494, allocations: 11.92 kB / 353.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.02497, allocations: 27.94 kB / 353.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.02508, allocations: 67.75 kB / 353.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.02508, allocations: 0 / 353.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.02508, allocations: 0 / 353.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.02508, allocations: 0 / 353.5 MB, free: 13.75 MB / 330.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.000276/0.02536, allocations: 305 kB / 353.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.02538, allocations: 8.031 kB / 353.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.48e-05/0.02541, allocations: 16.92 kB / 353.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.02555, allocations: 161.5 kB / 354 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.02556, allocations: 4.375 kB / 354 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.958e-06/0.02557, allocations: 8.375 kB / 354 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.215e-05/0.02563, allocations: 50.19 kB / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-06/0.02563, allocations: 192 / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.02564, allocations: 4.375 kB / 354 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.02565, allocations: 3.938 kB / 354 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.634e-05/0.02566, allocations: 15.92 kB / 354 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.0259, allocations: 354.6 kB / 354.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.135e-05/0.02595, allocations: 165.1 kB / 354.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.867e-05/0.02597, allocations: 80.14 kB / 354.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.02599, allocations: 79.28 kB / 354.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.02602, allocations: 105.8 kB / 354.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.02602, allocations: 0 / 354.8 MB, free: 12.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 4.163e-05/0.02606, allocations: 37.62 kB / 354.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.02609, allocations: 126.7 kB / 355 MB, free: 12.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.498e-05/0.02618, allocations: 160.2 kB / 355.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.02619, allocations: 25.7 kB / 355.1 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.02623, allocations: 116 kB / 355.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-06/0.02623, allocations: 0 / 355.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.02625, allocations: 13.72 kB / 355.3 MB, free: 11.81 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.02632, allocations: 326.7 kB / 355.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.849e-06/0.02632, allocations: 4 kB / 355.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.02633, allocations: 0 / 355.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.02635, allocations: 4.859 kB / 355.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.02635, allocations: 0 / 355.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.273e-05/0.0264, allocations: 45.62 kB / 355.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.02641, allocations: 8.203 kB / 355.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-06/0.02641, allocations: 7.938 kB / 355.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.02642, allocations: 0 / 355.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.807e-05/0.02645, allocations: 0 / 355.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-06/0.02645, allocations: 0 / 355.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.601e-05/0.02647, allocations: 0 / 355.7 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-06/0.02647, allocations: 0 / 355.7 MB, free: 11.4 MB / 330.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.663e-05/0.02653, allocations: 189.1 kB / 355.8 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.02657, allocations: 112.9 kB / 356 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.0266, allocations: 113.5 kB / 356.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.62e-05/0.02664, allocations: 184.3 kB / 356.2 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.722e-05/0.02668, allocations: 184.2 kB / 356.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.278e-05/0.02671, allocations: 176.3 kB / 356.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.02683, allocations: 338.1 kB / 356.9 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.02686, allocations: 108.9 kB / 357 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.02688, allocations: 101 kB / 357.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.661e-05/0.02691, allocations: 184.2 kB / 357.3 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.02695, allocations: 176.3 kB / 357.5 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.839e-05/0.02699, allocations: 192.2 kB / 357.7 MB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-05/0.02702, allocations: 176.3 kB / 357.8 MB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.15e-05/0.0271, allocations: 307.8 kB / 358.1 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.02714, allocations: 124.8 kB / 358.3 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.51e-05/0.02718, allocations: 184.2 kB / 358.5 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.845e-05/0.02723, allocations: 101.3 kB / 358.5 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.02728, allocations: 188.2 kB / 358.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.0273, allocations: 105 kB / 358.8 MB, free: 8.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.896e-05/0.02733, allocations: 37.52 kB / 358.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02733, allocations: 0 / 358.9 MB, free: 8.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001224/0.02745, allocations: 15.95 kB / 358.9 MB, free: 8 MB / 330.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.215e-05/0.02752, allocations: 147.7 kB / 359 MB, free: 7.844 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.646e-05/0.02756, allocations: 12.86 kB / 359 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.02756, allocations: 0 / 359 MB, free: 7.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.02756, allocations: 3.938 kB / 359 MB, free: 7.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.02783, allocations: 0.5018 MB / 359.6 MB, free: 7.328 MB / 330.7 MB Error: Error parsing unit kcal/(kg.K): Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.0284, allocations: 312.5 kB / 359.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.991e-05/0.02843, allocations: 63.33 kB / 359.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.686e-05/0.02846, allocations: 4.5 kB / 359.9 MB, free: 6.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.583e-05/0.02852, allocations: 79.28 kB / 360 MB, free: 6.832 MB / 330.7 MB Notification: Performance of SimCode: time 2.6e-07/0.02852, allocations: 0 / 360 MB, free: 6.832 MB / 330.7 MB Notification: Performance of Templates: time 0.002418/0.03094, allocations: 1.376 MB / 361.4 MB, free: 5.488 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.makefile [Timeout 660] (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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Thermal.Examples.SkinHeatTransferOnBloodFlow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6532910708338022]