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.001097/0.001097, allocations: 77.69 kB / 19.27 MB, free: 0.582 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.0009952/0.0009952, allocations: 166 kB / 22.58 MB, free: 1.922 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.023/1.023, allocations: 177.1 MB / 202.9 MB, free: 5.703 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.9023/0.9023, allocations: 116 MB / 375.4 MB, free: 4.164 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 3.977e-06/3.977e-06, allocations: 4 kB / 0.5535 GB, free: 13.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.714e-05, allocations: 6.312 kB / 0.5535 GB, free: 13.24 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.7036/0.7036, allocations: 152.6 MB / 0.7025 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004992/0.7086, allocations: 2.473 MB / 0.7049 GB, free: 2.246 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.7095, allocations: 37.28 kB / 0.7049 GB, free: 2.223 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008376/0.7104, allocations: 245.9 kB / 0.7052 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003514/0.7139, allocations: 1.04 MB / 0.7062 GB, free: 1.5 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00183/0.7157, allocations: 0.6514 MB / 0.7068 GB, free: 1.16 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.7173, allocations: 1.108 MB / 0.7079 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002575/0.7175, allocations: 69.95 kB / 0.708 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.7194, allocations: 0.8869 MB / 0.7088 GB, free: 184 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.7197, allocations: 260.6 kB / 0.7091 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.7197, allocations: 36.25 kB / 0.7091 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.7218, allocations: 0.7071 MB / 0.7098 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.7219, allocations: 113.9 kB / 0.7099 GB, free: 15.7 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.7221, allocations: 200.6 kB / 0.7101 GB, free: 15.61 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.7243, allocations: 1.225 MB / 0.7113 GB, free: 14.86 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.7243, allocations: 0 / 0.7113 GB, free: 14.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7243, allocations: 0 / 0.7113 GB, free: 14.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.7243, allocations: 2.625 kB / 0.7113 GB, free: 14.86 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.00146/0.7258, allocations: 0.9178 MB / 0.7122 GB, free: 14.14 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.7258, allocations: 10.59 kB / 0.7122 GB, free: 14.14 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.189e-05/0.7259, allocations: 75.97 kB / 0.7123 GB, free: 14.07 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009344/0.7268, allocations: 135.5 kB / 0.7124 GB, free: 14 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008228/0.7276, allocations: 470.3 kB / 0.7129 GB, free: 13.65 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.781e-05/0.7277, allocations: 86.62 kB / 0.713 GB, free: 13.57 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.7278, allocations: 38.5 kB / 0.713 GB, free: 13.56 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007249/0.7285, allocations: 0.6468 MB / 0.7136 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.7286, allocations: 0 / 0.7136 GB, free: 13.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.7286, allocations: 17.34 kB / 0.7136 GB, free: 13.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.7286, allocations: 10.44 kB / 0.7136 GB, free: 13.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00044/0.7291, allocations: 325 kB / 0.714 GB, free: 12.87 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.002301/0.7314, allocations: 1.628 MB / 0.7155 GB, free: 11.59 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003837/0.7317, allocations: 246.4 kB / 0.7158 GB, free: 11.45 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.7319, allocations: 110.1 kB / 0.7159 GB, free: 11.4 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001842/0.7321, allocations: 51.31 kB / 0.7159 GB, free: 11.38 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.7321, allocations: 37.39 kB / 0.716 GB, free: 11.34 MB / 0.573 GB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.7321, allocations: 0 / 0.716 GB, free: 11.34 MB / 0.573 GB Notification: Performance of matching and sorting (n=29): time 0.0009394/0.733, allocations: 401.6 kB / 0.7164 GB, free: 11.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.7331, allocations: 54.78 kB / 0.7164 GB, free: 11.08 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.7336, allocations: 0.4998 MB / 0.7169 GB, free: 10.78 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.7336, allocations: 29.7 kB / 0.7169 GB, free: 10.74 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.7337, allocations: 286.2 kB / 0.7172 GB, free: 10.49 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.93e-05/0.7338, allocations: 108.4 kB / 0.7173 GB, free: 10.39 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.7339, allocations: 92.09 kB / 0.7174 GB, free: 10.34 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.7341, allocations: 365.2 kB / 0.7177 GB, free: 9.984 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.7342, allocations: 93.3 kB / 0.7178 GB, free: 9.945 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.7344, allocations: 175 kB / 0.718 GB, free: 9.809 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.7347, allocations: 274.4 kB / 0.7183 GB, free: 9.629 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.7347, allocations: 3.938 kB / 0.7183 GB, free: 9.625 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005934/0.7353, allocations: 397.5 kB / 0.7186 GB, free: 9.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.7354, allocations: 7.906 kB / 0.7186 GB, free: 9.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.7354, allocations: 0 / 0.7186 GB, free: 9.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.7354, allocations: 4.812 kB / 0.7186 GB, free: 9.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.7356, allocations: 99 kB / 0.7187 GB, free: 9.406 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.7356, allocations: 2.688 kB / 0.7187 GB, free: 9.406 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.7358, allocations: 44.84 kB / 0.7188 GB, free: 9.375 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.018e-05/0.7359, allocations: 52.39 kB / 0.7188 GB, free: 9.363 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.0002309/0.7361, allocations: 159.5 kB / 0.719 GB, free: 9.219 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.7362, allocations: 68.78 kB / 0.7191 GB, free: 9.18 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009265/0.7371, allocations: 0.6221 MB / 0.7197 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.7371, allocations: 3.125 kB / 0.7197 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.7372, allocations: 0 / 0.7197 GB, free: 8.84 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.719e-06/0.7372, allocations: 10.77 kB / 0.7197 GB, free: 8.832 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.7383, allocations: 0.7734 MB / 0.7204 GB, free: 8.254 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.7383, allocations: 6.766 kB / 0.7204 GB, free: 8.25 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.7385, allocations: 66 kB / 0.7205 GB, free: 8.234 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000153/0.7386, allocations: 29.19 kB / 0.7205 GB, free: 8.219 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.7386, allocations: 13.28 kB / 0.7205 GB, free: 8.211 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003051/0.7389, allocations: 0.5416 MB / 0.7211 GB, free: 7.672 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7389, allocations: 4.125 kB / 0.7211 GB, free: 7.668 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.7395, allocations: 0.4996 MB / 0.7216 GB, free: 7.348 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.7396, allocations: 87.36 kB / 0.7216 GB, free: 7.285 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.7397, allocations: 3 kB / 0.7216 GB, free: 7.285 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.7398, allocations: 9.062 kB / 0.7217 GB, free: 7.281 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7399, allocations: 29.05 kB / 0.7217 GB, free: 7.266 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.862e-05/0.74, allocations: 31.86 kB / 0.7217 GB, free: 7.258 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003633/0.7403, allocations: 353.8 kB / 0.7221 GB, free: 7.051 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7403, allocations: 0 / 0.7221 GB, free: 7.051 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007785/0.7411, allocations: 208.9 kB / 0.7223 GB, free: 7 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.001632/0.7428, allocations: 1.267 MB / 0.7235 GB, free: 6.043 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005463/0.7433, allocations: 240.9 kB / 0.7237 GB, free: 5.945 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7433, allocations: 3.188 kB / 0.7237 GB, free: 5.945 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.7435, allocations: 119.8 kB / 0.7238 GB, free: 5.898 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.7443, allocations: 240.8 kB / 0.7241 GB, free: 5.785 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.7491, allocations: 4.072 MB / 0.728 GB, free: 3.059 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.7493, allocations: 249.1 kB / 0.7283 GB, free: 2.891 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006915/0.75, allocations: 413.5 kB / 0.7287 GB, free: 2.691 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.7503, allocations: 238.7 kB / 0.7289 GB, free: 2.516 MB / 0.573 GB Notification: Performance of SimCode: time 1.072e-06/0.7503, allocations: 0 / 0.7289 GB, free: 2.516 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05093/0.8012, allocations: 17.85 MB / 0.7463 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.05/10.85, allocations: 6.359 kB / 0.7463 GB, free: 7.938 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.Volumes.Volume_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_Volumes_Volume_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 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.220311007462442] Failed to read output from testmodel.py, exit status != 0: 10.954386182129383 10.967145644 10.240666103 Calling exit ...