Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Types.Examples.Units.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.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Types.Examples.Units") translateModel(Physiolibrary.Types.Examples.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Types.Examples.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 99.62 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.001065/0.001065, allocations: 177.3 kB / 15.95 MB, free: 216 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.301/1.301, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.07274/0.07274, allocations: 15.4 MB / 285.8 MB, free: 5.891 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.0005043/0.0005044, allocations: 16 kB / 347.7 MB, free: 18.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07896/0.07947, allocations: 51.41 MB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Types.Examples.Units): time 0.00149/0.081, allocations: 1.414 MB / 400.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 8.407e-05/0.0811, allocations: 75.73 kB / 400.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.08113, allocations: 3.938 kB / 400.6 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2e-05/0.08116, allocations: 7.922 kB / 400.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.08129, allocations: 55.88 kB / 400.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.988e-06/0.0813, allocations: 0 / 400.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.08141, allocations: 83.78 kB / 400.7 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.08147, allocations: 15.91 kB / 400.7 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.606e-05/0.0815, allocations: 23.88 kB / 400.7 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.08157, allocations: 27.88 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.44e-06/0.08158, allocations: 0 / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.0816, allocations: 0 / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.08161, allocations: 3.938 kB / 400.8 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.08165, allocations: 49.64 kB / 400.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 5.066e-05/0.08171, allocations: 44.16 kB / 400.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.08171, allocations: 0 / 400.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.08172, allocations: 0 / 400.9 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.08173, allocations: 4 kB / 400.9 MB, free: 12.86 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002778/0.08201, allocations: 374.8 kB / 401.2 MB, free: 12.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.08205, allocations: 12.03 kB / 401.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.0821, allocations: 83.19 kB / 401.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.08226, allocations: 266.1 kB / 401.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.862e-05/0.08231, allocations: 154.5 kB / 401.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.08236, allocations: 150.6 kB / 401.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.876e-05/0.08242, allocations: 104.9 kB / 402 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.08245, allocations: 75.28 kB / 402.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.08251, allocations: 158.6 kB / 402.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.08256, allocations: 158.5 kB / 402.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.795e-05/0.08261, allocations: 154.6 kB / 402.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002669/0.08288, allocations: 461.9 kB / 403 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.246e-05/0.08296, allocations: 181.1 kB / 403.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.08299, allocations: 83.28 kB / 403.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.08304, allocations: 105.8 kB / 403.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.08304, allocations: 0 / 403.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.375e-05/0.08311, allocations: 37.59 kB / 403.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.08317, allocations: 126.7 kB / 403.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.08332, allocations: 162.7 kB / 403.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.08334, allocations: 25.7 kB / 403.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.288e-05/0.0834, allocations: 108.1 kB / 403.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.08341, allocations: 0 / 403.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.08341, allocations: 0 / 403.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.223e-05/0.08351, allocations: 322.8 kB / 404.1 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.03e-06/0.08352, allocations: 3.938 kB / 404.1 MB, free: 9.395 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.806e-06/0.08353, allocations: 3.938 kB / 404.1 MB, free: 9.391 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.699e-05/0.08356, allocations: 79.22 kB / 404.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.08358, allocations: 75.28 kB / 404.3 MB, free: 9.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.167e-05/0.08364, allocations: 45.56 kB / 404.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.08368, allocations: 79.28 kB / 404.4 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.08371, allocations: 75.28 kB / 404.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.601e-05/0.08376, allocations: 158.5 kB / 404.6 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.869e-05/0.0838, allocations: 79.28 kB / 404.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.169e-05/0.08384, allocations: 158.5 kB / 404.8 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.742e-05/0.08394, allocations: 79.28 kB / 404.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.08396, allocations: 75.28 kB / 405 MB, free: 8.492 MB / 302.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 (0): * Single equations (assignments): 0 * 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.0001052/0.08407, allocations: 268.3 kB / 405.3 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.08414, allocations: 112.8 kB / 405.4 MB, free: 8.102 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.08418, allocations: 117.5 kB / 405.5 MB, free: 7.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-05/0.08424, allocations: 188.2 kB / 405.7 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.358e-05/0.0843, allocations: 184.3 kB / 405.8 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.937e-05/0.08436, allocations: 184.2 kB / 406 MB, free: 7.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002087/0.08457, allocations: 421.2 kB / 406.4 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.97e-05/0.08462, allocations: 105 kB / 406.5 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.08466, allocations: 108.9 kB / 406.6 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.668e-05/0.08472, allocations: 184.3 kB / 406.8 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-05/0.08478, allocations: 184.2 kB / 407 MB, free: 6.348 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.105e-05/0.08484, allocations: 176.3 kB / 407.2 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.584e-05/0.08489, allocations: 180.2 kB / 407.4 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.08502, allocations: 319.6 kB / 407.7 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.902e-05/0.08511, allocations: 189.9 kB / 407.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.08518, allocations: 180.2 kB / 408 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.082e-05/0.08527, allocations: 108.9 kB / 408.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.08534, allocations: 180.2 kB / 408.3 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.08538, allocations: 105 kB / 408.4 MB, free: 4.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.08547, allocations: 128.3 kB / 408.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08547, allocations: 0 / 408.5 MB, free: 4.723 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.08572, allocations: 15.98 kB / 408.6 MB, free: 4.707 MB / 302.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 (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 9.266e-05/0.08582, allocations: 166.5 kB / 408.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.185e-05/0.08586, allocations: 3.938 kB / 408.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.08587, allocations: 0 / 408.7 MB, free: 4.531 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.08587, allocations: 3.938 kB / 408.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.08626, allocations: 0.5498 MB / 409.3 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003954/0.08667, allocations: 455.8 kB / 409.7 MB, free: 3.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.08691, allocations: 0.7004 MB / 410.4 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.163e-05/0.08694, allocations: 0 / 410.4 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.136e-05/0.08695, allocations: 7.438 kB / 410.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08696, allocations: 0 / 410.4 MB, free: 2.754 MB / 302.1 MB Notification: Performance of Templates: time 0.002427/0.08939, allocations: 0.8931 MB / 411.3 MB, free: 1.863 MB / 302.1 MB make -j1 -f Physiolibrary_Physiolibrary.Types.Examples.Units.makefile Environment - environmentSimulation: (rm -f Physiolibrary_Physiolibrary.Types.Examples.Units.pipe ; mkfifo Physiolibrary_Physiolibrary.Types.Examples.Units.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Types.Examples.Units.pipe >> ../files/Physiolibrary_Physiolibrary.Types.Examples.Units.sim & ./Physiolibrary_Physiolibrary.Types.Examples.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Types.Examples.Units.pipe 2>&1) Environment - environmentSimulation: