Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.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.Organs.Heart.Examples.RightAtriumTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest") translateModel(Physiolibrary.Organs.Heart.Examples.RightAtriumTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.142/0.142, allocations: 15.29 MB / 31.59 MB, free: 4.133 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.00165/0.00165, allocations: 105.6 kB / 36.59 MB, free: 3.172 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.00218/0.00218, allocations: 193.1 kB / 41.7 MB, free: 7.125 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.515/1.515, allocations: 222.9 MB / 269.6 MB, free: 6.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1315/0.1315, allocations: 23.35 MB / 347.2 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 111.8 kB / 479.5 MB, free: 1.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2854, allocations: 59.37 MB / 0.5263 GB, free: 8.098 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:707:7-707: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/Fluid.mo:707:7-707: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.Organs.Heart.Examples.RightAtriumTest): time 0.06192/0.3474, allocations: 54.08 MB / 0.5791 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01514/0.3625, allocations: 12.39 MB / 0.5912 GB, free: 1.977 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.3637, allocations: 15.94 kB / 0.5912 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004328/0.3642, allocations: 134.9 kB / 0.5913 GB, free: 1.828 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005411/0.3696, allocations: 2.069 MB / 0.5933 GB, free: 15.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.371, allocations: 0.6345 MB / 0.594 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.3724, allocations: 1.341 MB / 0.5953 GB, free: 13.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001832/0.3742, allocations: 1.477 MB / 0.5967 GB, free: 12.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000726/0.3749, allocations: 0.5883 MB / 0.5973 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009327/0.3759, allocations: 0.9977 MB / 0.5983 GB, free: 10.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.3761, allocations: 172 kB / 0.5984 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4221/0.7982, allocations: 76.71 MB / 0.6733 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001693/0.7999, allocations: 1.734 MB / 0.675 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002437/0.8024, allocations: 1.669 MB / 0.6767 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007329/0.8097, allocations: 5.422 MB / 0.6819 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.8098, allocations: 0 / 0.6819 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8098, allocations: 0 / 0.6819 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.3e-05/0.8098, allocations: 4 kB / 0.682 GB, free: 5.957 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 547 * Number of variables: 547 Notification: Performance of Generate backend data structure: time 0.006435/0.8163, allocations: 3.292 MB / 0.6852 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.8163, allocations: 8.031 kB / 0.6852 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004561/0.8168, allocations: 280.6 kB / 0.6854 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/0.8199, allocations: 1.719 MB / 0.6871 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.8201, allocations: 240.2 kB / 0.6874 GB, free: 312 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/0.8204, allocations: 239.9 kB / 0.6876 GB, free: 72 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.8254, allocations: 3.644 MB / 0.6911 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.077e-05/0.8255, allocations: 27.69 kB / 0.6912 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/0.8257, allocations: 88 kB / 0.6912 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.061e-05/0.8258, allocations: 56 kB / 0.6913 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007299/0.8331, allocations: 4.997 MB / 0.6962 GB, free: 7.07 MB / 0.5294 GB 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.01465/0.8478, allocations: 11.75 MB / 0.7077 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004444/0.8522, allocations: 3.215 MB / 0.7108 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002264/0.8545, allocations: 1.666 MB / 0.7124 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007021/0.8615, allocations: 4.327 MB / 0.7166 GB, free: 1.703 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.8616, allocations: 56.56 kB / 0.7167 GB, free: 1.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=219): time 3.717e-06/0.8616, allocations: 0 / 0.7167 GB, free: 1.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=219): time 0.00874/0.8704, allocations: 4.821 MB / 0.7214 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.8704, allocations: 73.41 kB / 0.7215 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003361/0.8738, allocations: 2.59 MB / 0.724 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001415/0.8739, allocations: 65.7 kB / 0.7241 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.8747, allocations: 0.9343 MB / 0.725 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/0.8753, allocations: 0.7894 MB / 0.7258 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006372/0.8759, allocations: 432.8 kB / 0.7262 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.129e-05/0.876, allocations: 305.1 kB / 0.7265 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/0.8784, allocations: 1.476 MB / 0.7279 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00262/0.881, allocations: 1.892 MB / 0.7297 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2426/1.124, allocations: 6.721 MB / 0.7363 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.124, allocations: 2.438 kB / 0.7363 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.00596/1.13, allocations: 3.933 MB / 0.7402 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.13, allocations: 16.12 kB / 0.7402 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.13, allocations: 11.97 kB / 0.7402 GB, free: 180.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/1.131, allocations: 0.5324 MB / 0.7407 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.133, allocations: 0.4985 MB / 0.7412 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/1.134, allocations: 1.711 MB / 0.7429 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.135, allocations: 266.1 kB / 0.7431 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/1.136, allocations: 95.36 kB / 0.7432 GB, free: 179.3 MB / 0.5606 GB Warning: Assuming fixed start value for the following 3 variables: RightAtrium.extraSubstanceAmounts[1]:VARIABLE(start = RightAtrium.tm_start * RightAtrium.C_start[1] fixed = true ) "Current amount of extra substances" type: Real [3] RightAtrium.extraSubstanceAmounts[2]:VARIABLE(start = RightAtrium.tm_start * RightAtrium.C_start[2] fixed = true ) "Current amount of extra substances" type: Real [3] RightAtrium.extraSubstanceAmounts[3]:VARIABLE(start = RightAtrium.tm_start * RightAtrium.C_start[3] fixed = true ) "Current amount of extra substances" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (307): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001125/1.137, allocations: 0.7893 MB / 0.744 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002959/1.137, allocations: 224.5 kB / 0.7442 GB, free: 178.9 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/1.142, allocations: 3.46 MB / 0.7476 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/1.142, allocations: 11.81 kB / 0.7476 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/1.142, allocations: 0 / 0.7476 GB, free: 177.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.144, allocations: 0.6247 MB / 0.7482 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/1.144, allocations: 58.61 kB / 0.7482 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009863/1.145, allocations: 67.58 kB / 0.7483 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/1.145, allocations: 182.3 kB / 0.7485 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005953/1.151, allocations: 3.479 MB / 0.7519 GB, free: 176.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006822/1.158, allocations: 5.716 MB / 0.7575 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001801/1.16, allocations: 1.545 MB / 0.759 GB, free: 173 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001635/1.162, allocations: 1.85 MB / 0.7608 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of Backend: time 6.61e-07/1.162, allocations: 0 / 0.7608 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005258/1.167, allocations: 3.374 MB / 0.7641 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01028/1.177, allocations: 8.488 MB / 0.7724 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.07627/1.254, allocations: 72.14 MB / 0.8428 GB, free: 91.4 MB / 0.5606 GB make -j1 -f Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.makefile (rm -f Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.pipe ; mkfifo Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.pipe >> ../files/Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.sim & ./Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Organs.Heart.Examples.RightAtriumTest.pipe 2>&1)