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.0/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/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/Chemical 1.4.0/package.mo): time 0.08565/0.08565, allocations: 15.28 MB / 30.91 MB, free: 4.152 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.001096/0.001096, allocations: 104.9 kB / 35.91 MB, free: 3.199 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.001306/0.001306, allocations: 195.3 kB / 41.02 MB, free: 7.141 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.334/1.334, allocations: 222.9 MB / 268.9 MB, free: 6.777 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.127/0.127, allocations: 23.34 MB / 346.6 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 107.8 kB / 478.8 MB, free: 1.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3856, allocations: 59.36 MB / 0.5256 GB, free: 8.09 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.SkinHeatTransferOnBloodFlow): time 0.02862/0.4143, allocations: 21.67 MB / 0.5467 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009516/0.4152, allocations: 436.4 kB / 0.5471 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.4154, allocations: 4 kB / 0.5471 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.4155, allocations: 17.11 kB / 0.5472 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.452e-05/0.4156, allocations: 41.56 kB / 0.5472 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.618e-05/0.4157, allocations: 12.08 kB / 0.5472 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.4158, allocations: 109.8 kB / 0.5473 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.4159, allocations: 35.7 kB / 0.5474 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.416, allocations: 38.78 kB / 0.5474 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.4161, allocations: 35.61 kB / 0.5474 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.4161, allocations: 4 kB / 0.5474 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.32e-05/0.4161, allocations: 4 kB / 0.5474 GB, free: 12.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.4161, allocations: 13.58 kB / 0.5474 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.4162, allocations: 54.12 kB / 0.5475 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.4164, allocations: 88.28 kB / 0.5476 GB, free: 12.74 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4164, allocations: 4 kB / 0.5476 GB, free: 12.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4164, allocations: 0 / 0.5476 GB, free: 12.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.4164, allocations: 0 / 0.5476 GB, free: 12.73 MB / 398.1 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.0004341/0.4168, allocations: 407.4 kB / 0.548 GB, free: 12.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.4169, allocations: 12.62 kB / 0.548 GB, free: 12.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.4169, allocations: 12.84 kB / 0.548 GB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.4172, allocations: 225.5 kB / 0.5482 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.198e-06/0.4172, allocations: 0.8906 kB / 0.5482 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.4172, allocations: 4.375 kB / 0.5482 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.4173, allocations: 67.12 kB / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.4173, allocations: 0 / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.4173, allocations: 0 / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4174, allocations: 0 / 0.5483 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.577e-05/0.4174, allocations: 26.66 kB / 0.5483 GB, free: 11.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.4179, allocations: 483.6 kB / 0.5488 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.418, allocations: 173.1 kB / 0.5489 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.4181, allocations: 80.8 kB / 0.549 GB, free: 11.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4181, allocations: 75.28 kB / 0.5491 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.4182, allocations: 106.4 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/0.4182, allocations: 3.984 kB / 0.5492 GB, free: 10.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.404e-05/0.4182, allocations: 42.08 kB / 0.5492 GB, free: 10.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4183, allocations: 143.3 kB / 0.5494 GB, free: 10.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.4185, allocations: 183.2 kB / 0.5495 GB, free: 10.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4185, allocations: 25.7 kB / 0.5496 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.4186, allocations: 112.1 kB / 0.5497 GB, free: 10.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.4186, allocations: 0 / 0.5497 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.4187, allocations: 14.33 kB / 0.5497 GB, free: 10.45 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4188, allocations: 322.5 kB / 0.55 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.299e-05/0.4188, allocations: 8 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.4188, allocations: 4 kB / 0.55 GB, free: 10.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.525e-05/0.4188, allocations: 9.609 kB / 0.55 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4188, allocations: 0 / 0.55 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000104/0.4189, allocations: 50.95 kB / 0.5501 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.419, allocations: 7.281 kB / 0.5501 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.419, allocations: 0 / 0.5501 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.419, allocations: 0.7969 kB / 0.5501 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.419, allocations: 7.938 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.4191, allocations: 4.094 kB / 0.5501 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.739e-05/0.4191, allocations: 4.641 kB / 0.5501 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.4191, allocations: 0 / 0.5501 GB, free: 10.03 MB / 398.1 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 8.437e-05/0.4192, allocations: 189.9 kB / 0.5503 GB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.4193, allocations: 117.5 kB / 0.5504 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.4193, allocations: 119.8 kB / 0.5505 GB, free: 9.594 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-05/0.4194, allocations: 185 kB / 0.5507 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-05/0.4195, allocations: 189 kB / 0.5508 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/0.4195, allocations: 181 kB / 0.551 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.4198, allocations: 437.4 kB / 0.5514 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/0.4198, allocations: 105.7 kB / 0.5515 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/0.4199, allocations: 101.8 kB / 0.5516 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.708e-05/0.4199, allocations: 189.1 kB / 0.5518 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.42, allocations: 181 kB / 0.552 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.746e-05/0.42, allocations: 181 kB / 0.5522 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.503e-05/0.4201, allocations: 180.7 kB / 0.5523 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.4202, allocations: 321.9 kB / 0.5526 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-05/0.4203, allocations: 184.2 kB / 0.5528 GB, free: 7.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.087e-05/0.4204, allocations: 180.9 kB / 0.553 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.4205, allocations: 109.4 kB / 0.5531 GB, free: 6.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.4205, allocations: 180.9 kB / 0.5533 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.4206, allocations: 105.6 kB / 0.5534 GB, free: 6.473 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.4207, allocations: 139.3 kB / 0.5535 GB, free: 6.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4207, allocations: 0 / 0.5535 GB, free: 6.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000216/0.4209, allocations: 16.8 kB / 0.5535 GB, free: 6.332 MB / 398.1 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 9.761e-05/0.421, allocations: 171.2 kB / 0.5537 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 6.166e-05/0.4211, allocations: 8 kB / 0.5537 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4211, allocations: 0 / 0.5537 GB, free: 6.145 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-06/0.4211, allocations: 4 kB / 0.5537 GB, free: 6.141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.4216, allocations: 0.4956 MB / 0.5542 GB, free: 5.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.422, allocations: 272.6 kB / 0.5544 GB, free: 5.367 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.4223, allocations: 0.6996 MB / 0.5551 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.11e-05/0.4223, allocations: 10.67 kB / 0.5551 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.4224, allocations: 11.44 kB / 0.5551 GB, free: 4.633 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4224, allocations: 0 / 0.5551 GB, free: 4.633 MB / 398.1 MB Notification: Performance of Templates: time 0.004341/0.4267, allocations: 1.57 MB / 0.5567 GB, free: 3.723 MB / 398.1 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)