Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1344/0.1344, allocations: 15.52 MB / 33.01 MB, free: 3.051 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 116.2 kB / 40.49 MB, free: 432 kB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 192.5 kB / 48.07 MB, free: 1.559 MB / 34.91 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.627/1.627, allocations: 225.6 MB / 281.1 MB, free: 4.105 MB / 206.1 MB " [Timeout remaining time 178] 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.1509/0.1509, allocations: 23.7 MB / 364.3 MB, free: 6.734 MB / 270.1 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.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.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") translateModel(Physiolibrary.Fluid.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00317/0.00317, allocations: 126.7 kB / 0.4944 GB, free: 42.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1115, allocations: 62.63 MB / 0.5555 GB, free: 13.85 MB / 398.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.Fluid.Examples.Windkessel_4element): time 0.1018/0.2133, allocations: 81.86 MB / 0.6355 GB, free: 11.83 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.3139/0.5272, allocations: 22.36 MB / 0.6573 GB, free: 18.43 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001118/0.5283, allocations: 18.28 kB / 0.6573 GB, free: 18.43 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.5292, allocations: 262.2 kB / 0.6576 GB, free: 18.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006943/0.5362, allocations: 2.484 MB / 0.66 GB, free: 18.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005722/0.5419, allocations: 2.069 MB / 0.662 GB, free: 18.39 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001746/0.5437, allocations: 1.348 MB / 0.6633 GB, free: 18.39 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004466/0.5441, allocations: 376.2 kB / 0.6637 GB, free: 18.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.5464, allocations: 1.148 MB / 0.6648 GB, free: 18.34 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007747/0.5472, allocations: 0.5651 MB / 0.6654 GB, free: 18.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.26e-05/0.5473, allocations: 53.81 kB / 0.6654 GB, free: 18.34 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005638/0.5529, allocations: 1.934 MB / 0.6673 GB, free: 18.31 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.5531, allocations: 168.5 kB / 0.6675 GB, free: 18.31 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005747/0.5537, allocations: 330.9 kB / 0.6678 GB, free: 18.31 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00626/0.56, allocations: 2.409 MB / 0.6701 GB, free: 18.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.56, allocations: 0 / 0.6701 GB, free: 18.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.56, allocations: 4.531 kB / 0.6701 GB, free: 18.16 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.56, allocations: 2.719 kB / 0.6701 GB, free: 18.16 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002193/0.5622, allocations: 1.135 MB / 0.6713 GB, free: 17.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5622, allocations: 9.531 kB / 0.6713 GB, free: 17.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.5624, allocations: 60.84 kB / 0.6713 GB, free: 17.43 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000594/0.563, allocations: 441.5 kB / 0.6717 GB, free: 17.18 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.563, allocations: 32.06 kB / 0.6718 GB, free: 17.18 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.292e-05/0.5631, allocations: 43.06 kB / 0.6718 GB, free: 17.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008786/0.564, allocations: 0.5414 MB / 0.6723 GB, free: 17.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.564, allocations: 0 / 0.6723 GB, free: 17.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.564, allocations: 16.22 kB / 0.6724 GB, free: 17.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.564, allocations: 11.06 kB / 0.6724 GB, free: 17.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008687/0.5649, allocations: 0.5018 MB / 0.6729 GB, free: 17.08 MB / 478.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.002635/0.5675, allocations: 2.454 MB / 0.6753 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.5682, allocations: 399.2 kB / 0.6756 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.5687, allocations: 247.1 kB / 0.6759 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001258/0.5699, allocations: 1.125 MB / 0.677 GB, free: 14.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004216/0.5703, allocations: 255.4 kB / 0.6772 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002054/0.5705, allocations: 51.94 kB / 0.6773 GB, free: 14.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=41): time 1.833e-06/0.5705, allocations: 0 / 0.6773 GB, free: 14.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=41): time 0.001495/0.572, allocations: 0.8159 MB / 0.6781 GB, free: 14.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.5721, allocations: 59.98 kB / 0.6781 GB, free: 14.37 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003961/0.5725, allocations: 395.7 kB / 0.6785 GB, free: 14.25 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.5725, allocations: 36.58 kB / 0.6785 GB, free: 14.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.5726, allocations: 249.8 kB / 0.6788 GB, free: 14.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.5727, allocations: 150.2 kB / 0.6789 GB, free: 13.99 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.5728, allocations: 98.69 kB / 0.679 GB, free: 13.97 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.5729, allocations: 356.4 kB / 0.6793 GB, free: 13.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.5732, allocations: 177.2 kB / 0.6795 GB, free: 13.65 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.5736, allocations: 269.7 kB / 0.6798 GB, free: 13.56 MB / 478.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: arteries.mass = arteries.tm_start (arteries.m_start[1] + arteries.massOffset = arteries.tm_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003831/0.5774, allocations: 1.329 MB / 0.6811 GB, free: 13.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5774, allocations: 0.75 kB / 0.6811 GB, free: 13.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001155/0.5786, allocations: 0.5949 MB / 0.6816 GB, free: 13.27 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.5786, allocations: 5.938 kB / 0.6817 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.5786, allocations: 6.344 kB / 0.6817 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002437/0.5789, allocations: 75.53 kB / 0.6817 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004401/0.5793, allocations: 103 kB / 0.6818 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005533/0.5798, allocations: 1.125 MB / 0.6829 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.5803, allocations: 20.39 kB / 0.6829 GB, free: 12.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/0.5804, allocations: 21.33 kB / 0.683 GB, free: 12.22 MB / 478.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: arteries.mass = arteries.tm_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.pulses.TD2,$PRE.pulses.HP,$PRE.pulses.T0,pulses.TD2,pulses.HP,pulses.b,pulses.T0,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003118/0.5807, allocations: 182 kB / 0.6831 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-05/0.5808, allocations: 52.62 kB / 0.6832 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.5819, allocations: 0.5796 MB / 0.6838 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.5819, allocations: 5.062 kB / 0.6838 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5819, allocations: 2.688 kB / 0.6838 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5819, allocations: 5.5 kB / 0.6838 GB, free: 11.98 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.5836, allocations: 1.122 MB / 0.6849 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5836, allocations: 0 / 0.6849 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.5839, allocations: 67.91 kB / 0.6849 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/0.5841, allocations: 74.97 kB / 0.685 GB, free: 11.64 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.5841, allocations: 14.69 kB / 0.685 GB, free: 11.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004494/0.5846, allocations: 1.11 MB / 0.6861 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5846, allocations: 0 / 0.6861 GB, free: 10.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.5857, allocations: 0.8126 MB / 0.6869 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.5859, allocations: 159.1 kB / 0.687 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.586, allocations: 18.27 kB / 0.6871 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.5863, allocations: 22.48 kB / 0.6871 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-05/0.5864, allocations: 31.64 kB / 0.6871 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.5864, allocations: 16.09 kB / 0.6871 GB, free: 10.28 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.5867, allocations: 284.9 kB / 0.6874 GB, free: 10.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5867, allocations: 0 / 0.6874 GB, free: 10.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001738/0.5884, allocations: 0.585 MB / 0.688 GB, free: 10.03 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (arteries.enthalpy,arteries.substanceMasses[1],inertia.q_in.m_flow) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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,3), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001542/0.5899, allocations: 0.8973 MB / 0.6889 GB, free: 9.797 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009508/0.5909, allocations: 442.7 kB / 0.6893 GB, free: 9.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5909, allocations: 2.688 kB / 0.6893 GB, free: 9.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004112/0.5913, allocations: 217.3 kB / 0.6895 GB, free: 9.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.5923, allocations: 227.4 kB / 0.6897 GB, free: 9.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.594, allocations: 1.09 MB / 0.6908 GB, free: 9.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.5942, allocations: 0.8478 MB / 0.6916 GB, free: 8.359 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000333/0.5946, allocations: 109.3 kB / 0.6917 GB, free: 8.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5947, allocations: 58.19 kB / 0.6918 GB, free: 8.34 MB / 478.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5947, allocations: 0 / 0.6918 GB, free: 8.34 MB / 478.1 MB Notification: Performance of Templates: time 0.02783/0.6225, allocations: 20.01 MB / 0.7113 GB, free: 9.047 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.makefile [Timeout 660] (rm -f Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; mkfifo Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe >> ../files/Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.sim & ./Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Fluid.Examples.Windkessel_4element.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.074870721437037]