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.001093/0.001093, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009087/0.0009087, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.072/1.072, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.9189/0.9189, allocations: 116 MB / 375.2 MB, free: 4.168 MB / 346.7 MB " [Timeout remaining time 178] 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.877e-06/3.877e-06, allocations: 0 / 0.5532 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.653e-05/7.04e-05, allocations: 10.22 kB / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.8879/0.888, allocations: 152.6 MB / 0.7023 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005765/0.8938, allocations: 2.477 MB / 0.7047 GB, free: 2.289 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.8952, allocations: 32.22 kB / 0.7047 GB, free: 2.27 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.8964, allocations: 246.5 kB / 0.7049 GB, free: 2.133 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004706/0.9011, allocations: 1.052 MB / 0.706 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.9038, allocations: 0.6507 MB / 0.7066 GB, free: 1.199 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00259/0.9064, allocations: 1.103 MB / 0.7077 GB, free: 0.6328 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.9068, allocations: 70.11 kB / 0.7077 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.9092, allocations: 0.8839 MB / 0.7086 GB, free: 232 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.9096, allocations: 261.2 kB / 0.7089 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.9097, allocations: 41.84 kB / 0.7089 GB, free: 144 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002578/0.9123, allocations: 0.7016 MB / 0.7096 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.9125, allocations: 126.8 kB / 0.7097 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.9127, allocations: 194.6 kB / 0.7099 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.9157, allocations: 1.224 MB / 0.7111 GB, free: 14.91 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.9157, allocations: 0 / 0.7111 GB, free: 14.91 MB / 0.573 GB Notification: Performance of FrontEnd: time 4.188e-06/0.9157, allocations: 0 / 0.7111 GB, free: 14.91 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.9158, allocations: 0 / 0.7111 GB, free: 14.91 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.002113/0.9179, allocations: 0.9099 MB / 0.712 GB, free: 14.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.094e-05/0.918, allocations: 15.22 kB / 0.712 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.9181, allocations: 75.69 kB / 0.7121 GB, free: 14.13 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007054/0.9188, allocations: 142 kB / 0.7122 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.9201, allocations: 434.3 kB / 0.7126 GB, free: 13.71 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.9202, allocations: 91.28 kB / 0.7127 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.9203, allocations: 38.84 kB / 0.7127 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009309/0.9212, allocations: 0.6421 MB / 0.7134 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.9213, allocations: 0 / 0.7134 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002272/0.9215, allocations: 17.41 kB / 0.7134 GB, free: 13.08 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.9215, allocations: 14.77 kB / 0.7134 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006195/0.9221, allocations: 324.6 kB / 0.7137 GB, free: 12.93 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.002601/0.9247, allocations: 1.611 MB / 0.7153 GB, free: 11.65 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.9253, allocations: 242.5 kB / 0.7155 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.9255, allocations: 111.9 kB / 0.7156 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.9258, allocations: 45.91 kB / 0.7157 GB, free: 11.44 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.9258, allocations: 41.48 kB / 0.7157 GB, free: 11.4 MB / 0.573 GB Notification: Performance of pre-optimization done (n=29): time 3.155e-06/0.9258, allocations: 0 / 0.7157 GB, free: 11.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=29): time 0.001201/0.927, allocations: 395.5 kB / 0.7161 GB, free: 11.21 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.358e-05/0.9271, allocations: 56.72 kB / 0.7161 GB, free: 11.15 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.9277, allocations: 0.4979 MB / 0.7166 GB, free: 10.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.9277, allocations: 31.92 kB / 0.7166 GB, free: 10.81 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.9279, allocations: 293.8 kB / 0.7169 GB, free: 10.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.389e-05/0.928, allocations: 101.6 kB / 0.717 GB, free: 10.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.9282, allocations: 92 kB / 0.7171 GB, free: 10.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.9283, allocations: 368.1 kB / 0.7175 GB, free: 10.05 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.9285, allocations: 94.92 kB / 0.7176 GB, free: 10 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.9287, allocations: 174.8 kB / 0.7177 GB, free: 9.867 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.9291, allocations: 274.3 kB / 0.718 GB, free: 9.688 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.9291, allocations: 2.562 kB / 0.718 GB, free: 9.688 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007296/0.9299, allocations: 405 kB / 0.7184 GB, free: 9.484 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.9299, allocations: 9.375 kB / 0.7184 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.9299, allocations: 2.844 kB / 0.7184 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.9299, allocations: 2.906 kB / 0.7184 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.9302, allocations: 98.33 kB / 0.7185 GB, free: 9.461 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.9302, allocations: 6.734 kB / 0.7185 GB, free: 9.457 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.9304, allocations: 45.03 kB / 0.7185 GB, free: 9.426 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/0.9304, allocations: 44.55 kB / 0.7186 GB, free: 9.418 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.0002054/0.9307, allocations: 164 kB / 0.7187 GB, free: 9.27 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.01e-05/0.9307, allocations: 66.12 kB / 0.7188 GB, free: 9.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.9319, allocations: 0.6209 MB / 0.7194 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.9319, allocations: 2.219 kB / 0.7194 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.9319, allocations: 0 / 0.7194 GB, free: 8.898 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.9319, allocations: 7.984 kB / 0.7194 GB, free: 8.891 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.933, allocations: 0.788 MB / 0.7202 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.933, allocations: 0 / 0.7202 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.9332, allocations: 66.27 kB / 0.7202 GB, free: 8.289 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002425/0.9334, allocations: 36.78 kB / 0.7203 GB, free: 8.266 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.9335, allocations: 12.34 kB / 0.7203 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005134/0.934, allocations: 0.5392 MB / 0.7208 GB, free: 7.723 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.934, allocations: 4.125 kB / 0.7208 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.935, allocations: 0.4989 MB / 0.7213 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.9352, allocations: 87.39 kB / 0.7214 GB, free: 7.336 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.76e-05/0.9352, allocations: 6.906 kB / 0.7214 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.9354, allocations: 5.531 kB / 0.7214 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.6e-05/0.9354, allocations: 29.11 kB / 0.7214 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.9355, allocations: 32.39 kB / 0.7215 GB, free: 7.309 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003761/0.9359, allocations: 352.9 kB / 0.7218 GB, free: 7.102 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.9359, allocations: 0 / 0.7218 GB, free: 7.102 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007179/0.9366, allocations: 204.6 kB / 0.722 GB, free: 7.055 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.001913/0.9385, allocations: 1.273 MB / 0.7232 GB, free: 6.094 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004979/0.939, allocations: 247.5 kB / 0.7235 GB, free: 5.992 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.939, allocations: 0.5625 kB / 0.7235 GB, free: 5.992 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001932/0.9392, allocations: 116.4 kB / 0.7236 GB, free: 5.949 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.9402, allocations: 237.9 kB / 0.7238 GB, free: 5.832 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.9463, allocations: 4.078 MB / 0.7278 GB, free: 3.102 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.9465, allocations: 241.9 kB / 0.728 GB, free: 2.938 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009408/0.9475, allocations: 405.2 kB / 0.7284 GB, free: 2.746 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.9478, allocations: 245.6 kB / 0.7286 GB, free: 2.566 MB / 0.573 GB Notification: Performance of SimCode: time 2.254e-06/0.9478, allocations: 3.938 kB / 0.7286 GB, free: 2.562 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/1.004, allocations: 17.83 MB / 0.7461 GB, free: 8.086 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.41, allocations: 3.938 kB / 0.7461 GB, free: 8.082 MB / 0.5886 GB " [Timeout remaining time 648] (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: 15.232632452622056] Failed to read output from testmodel.py, exit status != 0: 11.519555342383683 11.529539399 10.611628332 Calling exit ...