Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 80.23 kB / 19.27 MB, free: 0.6055 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000989/0.000989, allocations: 162 kB / 22.57 MB, free: 1.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.049/1.049, allocations: 177.1 MB / 202.9 MB, free: 5.699 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7926/0.7926, allocations: 116 MB / 375.4 MB, free: 4.152 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.Volumes.Volume,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_Volumes_Volume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.Volumes.Volume,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_Volumes_Volume",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.075e-05, allocations: 2.312 kB / 0.5535 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.7168/0.7169, allocations: 152.6 MB / 0.7025 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.7208, allocations: 2.47 MB / 0.7049 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.7212, allocations: 36.31 kB / 0.7049 GB, free: 2.234 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007939/0.7219, allocations: 247.5 kB / 0.7052 GB, free: 2.098 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002507/0.7245, allocations: 1.049 MB / 0.7062 GB, free: 1.504 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.7261, allocations: 0.6491 MB / 0.7068 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008645/0.7269, allocations: 1.105 MB / 0.7079 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.7271, allocations: 70.33 kB / 0.708 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.7289, allocations: 0.882 MB / 0.7088 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.7291, allocations: 264.7 kB / 0.7091 GB, free: 108 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.7292, allocations: 41.38 kB / 0.7091 GB, free: 104 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.7305, allocations: 0.7086 MB / 0.7098 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.7306, allocations: 109.7 kB / 0.7099 GB, free: 15.71 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.7308, allocations: 199.2 kB / 0.7101 GB, free: 15.62 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.7322, allocations: 1.22 MB / 0.7113 GB, free: 14.88 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7322, allocations: 0 / 0.7113 GB, free: 14.88 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7322, allocations: 0 / 0.7113 GB, free: 14.88 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.7322, allocations: 0 / 0.7113 GB, free: 14.88 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001401/0.7336, allocations: 0.9138 MB / 0.7122 GB, free: 14.16 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/0.7337, allocations: 10.72 kB / 0.7122 GB, free: 14.16 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.968e-05/0.7338, allocations: 83.67 kB / 0.7123 GB, free: 14.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005465/0.7343, allocations: 138 kB / 0.7124 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.7351, allocations: 468.2 kB / 0.7129 GB, free: 13.66 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.7353, allocations: 86.55 kB / 0.7129 GB, free: 13.59 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.7353, allocations: 41.81 kB / 0.713 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.7361, allocations: 0.6436 MB / 0.7136 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.7361, allocations: 0 / 0.7136 GB, free: 13.05 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.7362, allocations: 21.28 kB / 0.7136 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.7362, allocations: 10.44 kB / 0.7136 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.7367, allocations: 321 kB / 0.7139 GB, free: 12.89 MB / 0.573 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.002238/0.7389, allocations: 1.636 MB / 0.7155 GB, free: 11.6 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.7393, allocations: 231.7 kB / 0.7158 GB, free: 11.48 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.7394, allocations: 113.2 kB / 0.7159 GB, free: 11.42 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.7396, allocations: 52.48 kB / 0.7159 GB, free: 11.4 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.7397, allocations: 37.44 kB / 0.716 GB, free: 11.36 MB / 0.573 GB Notification: Performance of pre-optimization done (n=29): time 2.043e-06/0.7397, allocations: 0 / 0.716 GB, free: 11.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=29): time 0.0007954/0.7405, allocations: 405.8 kB / 0.7163 GB, free: 11.16 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.7405, allocations: 58.58 kB / 0.7164 GB, free: 11.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.741, allocations: 0.4923 MB / 0.7169 GB, free: 10.8 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.741, allocations: 29.7 kB / 0.7169 GB, free: 10.76 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.7412, allocations: 289.5 kB / 0.7172 GB, free: 10.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/0.7413, allocations: 108.2 kB / 0.7173 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.7414, allocations: 92.22 kB / 0.7174 GB, free: 10.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7415, allocations: 357.9 kB / 0.7177 GB, free: 10.01 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.7417, allocations: 93.3 kB / 0.7178 GB, free: 9.969 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.7419, allocations: 176 kB / 0.718 GB, free: 9.828 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.7423, allocations: 279 kB / 0.7182 GB, free: 9.645 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.7423, allocations: 2.688 kB / 0.7182 GB, free: 9.645 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004972/0.7428, allocations: 392.5 kB / 0.7186 GB, free: 9.453 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.7428, allocations: 5.531 kB / 0.7186 GB, free: 9.453 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.7428, allocations: 2.656 kB / 0.7186 GB, free: 9.453 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.7428, allocations: 8.891 kB / 0.7186 GB, free: 9.449 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.7431, allocations: 94.58 kB / 0.7187 GB, free: 9.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.7431, allocations: 7.156 kB / 0.7187 GB, free: 9.426 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.7432, allocations: 57.02 kB / 0.7188 GB, free: 9.383 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.7433, allocations: 36.78 kB / 0.7188 GB, free: 9.383 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 42 * 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 0.0001684/0.7435, allocations: 163.6 kB / 0.719 GB, free: 9.234 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.7435, allocations: 72.09 kB / 0.719 GB, free: 9.195 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009864/0.7445, allocations: 0.6239 MB / 0.7197 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7445, allocations: 2 kB / 0.7197 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.7445, allocations: 0 / 0.7197 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7445, allocations: 3.031 kB / 0.7197 GB, free: 8.855 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.7459, allocations: 0.7894 MB / 0.7204 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7459, allocations: 0 / 0.7204 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.746, allocations: 64.91 kB / 0.7205 GB, free: 8.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.7462, allocations: 26 kB / 0.7205 GB, free: 8.234 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.395e-05/0.7462, allocations: 20.55 kB / 0.7205 GB, free: 8.223 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003503/0.7465, allocations: 0.5353 MB / 0.7211 GB, free: 7.688 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7465, allocations: 0 / 0.7211 GB, free: 7.688 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006018/0.7471, allocations: 0.4994 MB / 0.7216 GB, free: 7.367 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.7473, allocations: 90.02 kB / 0.7216 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.7473, allocations: 6.781 kB / 0.7216 GB, free: 7.301 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.7475, allocations: 13.42 kB / 0.7217 GB, free: 7.293 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.639e-05/0.7475, allocations: 21.38 kB / 0.7217 GB, free: 7.285 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.7476, allocations: 33.2 kB / 0.7217 GB, free: 7.273 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003334/0.7479, allocations: 356 kB / 0.722 GB, free: 7.066 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.7479, allocations: 0 / 0.722 GB, free: 7.066 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000552/0.7484, allocations: 208.8 kB / 0.7222 GB, free: 7.016 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (pressureTank.M,pressureTank.U_med) * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001249/0.7497, allocations: 1.27 MB / 0.7235 GB, free: 6.059 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004107/0.7501, allocations: 237.1 kB / 0.7237 GB, free: 5.965 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7501, allocations: 0 / 0.7237 GB, free: 5.965 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.7503, allocations: 122.3 kB / 0.7238 GB, free: 5.918 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.751, allocations: 238.1 kB / 0.7241 GB, free: 5.797 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.7554, allocations: 4.079 MB / 0.728 GB, free: 3.066 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.7556, allocations: 241.5 kB / 0.7283 GB, free: 2.906 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006173/0.7562, allocations: 405.2 kB / 0.7287 GB, free: 2.711 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.7565, allocations: 241.7 kB / 0.7289 GB, free: 2.535 MB / 0.573 GB Notification: Performance of SimCode: time 7.31e-07/0.7565, allocations: 0 / 0.7289 GB, free: 2.535 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03951/0.796, allocations: 17.86 MB / 0.7463 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.948/10.74, allocations: 3.984 kB / 0.7463 GB, free: 7.961 MB / 0.5886 GB " [Timeout remaining time 649] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume_res.csv --start-time 0 --stop-time 100 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_Volumes_Volume.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 14.20471134223044] Failed to read output from testmodel.py, exit status != 0: 10.846384856849909 10.859905946 10.125611865 Calling exit ...