Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.conf.json 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo", uses=false) Using package Physiolibrary with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: translateModel(Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG") translateModel(Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009138/0.000914, allocations: 100.2 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009665/0.0009666, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1238:16-1238:88:writable] Warning: The file was not encoded in UTF-8: "

[1] Matej?k M, Kulh?nek T, Matouaek S. Adair-Based Hemoglobin...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/Chemical.mo:1632:61-1632:133:writable] Warning: The file was not encoded in UTF-8: "

Before silumation in "Dymola 2014 FD01" please set e...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 2.3.1/package.mo): time 0.07667/0.07667, allocations: 15.4 MB / 285.8 MB, free: 5.773 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000551/0.0005511, allocations: 16 kB / 347.7 MB, free: 18.19 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08313/0.0837, allocations: 51.41 MB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG): time 0.003735/0.08747, allocations: 3.886 MB / 402.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.09452, allocations: 5.515 MB / 408.5 MB, free: 5.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004105/0.09496, allocations: 23.81 kB / 408.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005079/0.09548, allocations: 143.1 kB / 408.6 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.09742, allocations: 0.7749 MB / 409.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.1, allocations: 0.7717 MB / 410.2 MB, free: 3.516 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001518/0.1016, allocations: 0.6475 MB / 410.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.1019, allocations: 152.7 kB / 411 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004119/0.1023, allocations: 263.1 kB / 411.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005956/0.1029, allocations: 334.7 kB / 411.6 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.044e-05/0.103, allocations: 28 kB / 411.6 MB, free: 2.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.1035, allocations: 195.7 kB / 411.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.1038, allocations: 187.4 kB / 412 MB, free: 1.723 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.1041, allocations: 173.2 kB / 412.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.106, allocations: 1.407 MB / 413.5 MB, free: 140 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.106, allocations: 0 / 413.5 MB, free: 140 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.106, allocations: 0 / 413.5 MB, free: 140 kB / 302.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.106, allocations: 0 / 413.5 MB, free: 140 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00555/0.1116, allocations: 1.378 MB / 414.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.1117, allocations: 19.97 kB / 414.9 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004816/0.1122, allocations: 94.78 kB / 415 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005817/0.118, allocations: 2.857 MB / 417.9 MB, free: 11.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.1181, allocations: 37 kB / 417.9 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.1182, allocations: 48 kB / 418 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.1195, allocations: 0.5452 MB / 418.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.1195, allocations: 0 / 418.5 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.301e-05/0.1196, allocations: 16 kB / 418.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1196, allocations: 12 kB / 418.5 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001461/0.1211, allocations: 0.6441 MB / 419.2 MB, free: 10.38 MB / 318.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.006568/0.1276, allocations: 3.052 MB / 422.2 MB, free: 7.273 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.1301, allocations: 1.002 MB / 423.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.1302, allocations: 11.97 kB / 423.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.1302, allocations: 42.5 kB / 423.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=36): time 2.846e-06/0.1302, allocations: 0 / 423.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002325/0.1326, allocations: 0.9109 MB / 424.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1326, allocations: 55.41 kB / 424.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007015/0.1396, allocations: 3.356 MB / 427.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.181e-05/0.1397, allocations: 33.7 kB / 427.6 MB, free: 1.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.1401, allocations: 380.4 kB / 428 MB, free: 1.379 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.1403, allocations: 130.1 kB / 428.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1403, allocations: 8 kB / 428.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1405, allocations: 333.8 kB / 428.5 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.1411, allocations: 276.7 kB / 428.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/0.1418, allocations: 343.4 kB / 429.1 MB, free: 284 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1552/0.2971, allocations: 287.5 kB / 429.4 MB, free: 35.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.2971, allocations: 1.062 kB / 429.4 MB, free: 35.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001727/0.2988, allocations: 0.7454 MB / 430.1 MB, free: 35.38 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.2989, allocations: 5.5 kB / 430.1 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.2989, allocations: 1.375 kB / 430.1 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.2989, allocations: 4.781 kB / 430.1 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.2994, allocations: 116.9 kB / 430.2 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.2994, allocations: 5.344 kB / 430.2 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.3005, allocations: 72 kB / 430.3 MB, free: 35.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.3006, allocations: 18.88 kB / 430.3 MB, free: 35.38 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003003/0.3009, allocations: 238.2 kB / 430.6 MB, free: 35.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.3011, allocations: 83.64 kB / 430.6 MB, free: 35.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3023, allocations: 0.7135 MB / 431.4 MB, free: 35.2 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3024, allocations: 5.25 kB / 431.4 MB, free: 35.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3024, allocations: 0 / 431.4 MB, free: 35.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3024, allocations: 2.062 kB / 431.4 MB, free: 35.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00355/0.306, allocations: 2.164 MB / 433.5 MB, free: 34.9 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.306, allocations: 0.9688 kB / 433.5 MB, free: 34.9 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000464/0.3065, allocations: 89.25 kB / 433.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3065, allocations: 1.031 kB / 433.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.3065, allocations: 13.89 kB / 433.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3065, allocations: 2.422 kB / 433.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3065, allocations: 1.25 kB / 433.6 MB, free: 34.89 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.3084, allocations: 1.148 MB / 434.8 MB, free: 34.61 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.3096, allocations: 0.5097 MB / 435.3 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003206/0.3099, allocations: 15.61 kB / 435.3 MB, free: 34.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009367/0.3109, allocations: 38.22 kB / 435.3 MB, free: 34.36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/0.311, allocations: 22.27 kB / 435.4 MB, free: 34.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.311, allocations: 19.62 kB / 435.4 MB, free: 34.36 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.003047/0.3141, allocations: 2.55 MB / 437.9 MB, free: 33.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3141, allocations: 0 / 437.9 MB, free: 33.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009849/0.3151, allocations: 280.3 kB / 438.2 MB, free: 33.46 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pulmonaryVeinsAndLeftAtrium.state,pulmonaryArteries.state,arteries.state,veins.state,rightAtrium.state) * 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002332/0.3153, allocations: 129.4 kB / 438.3 MB, free: 33.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3164, allocations: 0.6088 MB / 438.9 MB, free: 33.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3165, allocations: 0 / 438.9 MB, free: 33.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004718/0.3169, allocations: 319 kB / 439.3 MB, free: 33.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.3178, allocations: 125.9 kB / 439.4 MB, free: 33.13 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3199, allocations: 1.579 MB / 441 MB, free: 32.31 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.3204, allocations: 0.9792 MB / 441.9 MB, free: 31.59 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007001/0.3211, allocations: 233.7 kB / 442.2 MB, free: 31.57 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005357/0.3217, allocations: 94.38 kB / 442.3 MB, free: 31.56 MB / 318.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3217, allocations: 0 / 442.3 MB, free: 31.56 MB / 318.1 MB Notification: Performance of Templates: time 0.02329/0.345, allocations: 17.93 MB / 460.2 MB, free: 17.25 MB / 318.1 MB make -j1 -f Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; mkfifo Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe >> ../files/Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.sim & ./Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Hydraulic.Examples.CardiovascularSystem_GCG.pipe 2>&1) Environment - environmentSimulation: