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.001124/0.001124, 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.0009029/0.0009029, 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.099/1.099, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7876/0.7876, allocations: 116 MB / 375.2 MB, free: 4.176 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.204e-06/2.204e-06, allocations: 0 / 0.5532 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.67e-05, allocations: 10.02 kB / 0.5533 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.5166/0.5166, allocations: 152.6 MB / 0.7023 GB, free: 3.969 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004244/0.5209, allocations: 2.471 MB / 0.7047 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.5221, allocations: 35.69 kB / 0.7047 GB, free: 2.258 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007785/0.5229, allocations: 243.8 kB / 0.7049 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003237/0.5261, allocations: 1.055 MB / 0.706 GB, free: 1.527 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001914/0.5281, allocations: 0.6515 MB / 0.7066 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001425/0.5295, allocations: 1.103 MB / 0.7077 GB, free: 0.6211 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.5299, allocations: 70.7 kB / 0.7078 GB, free: 0.5938 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001808/0.5317, allocations: 0.882 MB / 0.7086 GB, free: 220 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002797/0.5319, allocations: 258.9 kB / 0.7089 GB, free: 136 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.957e-05/0.532, allocations: 43.53 kB / 0.7089 GB, free: 132 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.5337, allocations: 0.7059 MB / 0.7096 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.5338, allocations: 118.6 kB / 0.7097 GB, free: 15.75 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.5341, allocations: 194.2 kB / 0.7099 GB, free: 15.66 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/0.5362, allocations: 1.217 MB / 0.7111 GB, free: 14.92 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.5362, allocations: 3.984 kB / 0.7111 GB, free: 14.92 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.314e-06/0.5362, allocations: 0 / 0.7111 GB, free: 14.92 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.5362, allocations: 0 / 0.7111 GB, free: 14.92 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.001478/0.5377, allocations: 0.9214 MB / 0.712 GB, free: 14.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 0.000102/0.5378, allocations: 11.12 kB / 0.712 GB, free: 14.2 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.5379, allocations: 79.94 kB / 0.7121 GB, free: 14.12 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005753/0.5385, allocations: 137.7 kB / 0.7122 GB, free: 14.05 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008902/0.5394, allocations: 439 kB / 0.7126 GB, free: 13.7 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.5395, allocations: 82.88 kB / 0.7127 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.5395, allocations: 38.5 kB / 0.7127 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008462/0.5404, allocations: 0.6465 MB / 0.7134 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.5404, allocations: 0 / 0.7134 GB, free: 13.09 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.5404, allocations: 17.19 kB / 0.7134 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.5405, allocations: 18.42 kB / 0.7134 GB, free: 13.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.5409, allocations: 325.4 kB / 0.7137 GB, free: 12.92 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.002167/0.543, allocations: 1.611 MB / 0.7153 GB, free: 11.64 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.5434, allocations: 235.4 kB / 0.7155 GB, free: 11.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.5435, allocations: 111.6 kB / 0.7156 GB, free: 11.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.5437, allocations: 45.44 kB / 0.7157 GB, free: 11.44 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.5437, allocations: 43.25 kB / 0.7157 GB, free: 11.39 MB / 0.573 GB Notification: Performance of pre-optimization done (n=29): time 1.553e-06/0.5437, allocations: 0 / 0.7157 GB, free: 11.39 MB / 0.573 GB Notification: Performance of matching and sorting (n=29): time 0.0008624/0.5445, allocations: 402.2 kB / 0.7161 GB, free: 11.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.5446, allocations: 58.12 kB / 0.7161 GB, free: 11.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.545, allocations: 0.4955 MB / 0.7166 GB, free: 10.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.545, allocations: 32.67 kB / 0.7167 GB, free: 10.8 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.5452, allocations: 281.8 kB / 0.7169 GB, free: 10.55 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 6.693e-05/0.5452, allocations: 105.5 kB / 0.717 GB, free: 10.46 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.5453, allocations: 96.69 kB / 0.7171 GB, free: 10.4 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5455, allocations: 367.9 kB / 0.7175 GB, free: 10.04 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.5456, allocations: 90.83 kB / 0.7176 GB, free: 10 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.5458, allocations: 178.8 kB / 0.7177 GB, free: 9.863 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/0.5461, allocations: 274.5 kB / 0.718 GB, free: 9.684 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5461, allocations: 0 / 0.718 GB, free: 9.684 MB / 0.573 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005041/0.5466, allocations: 403.4 kB / 0.7184 GB, free: 9.484 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.5466, allocations: 9.094 kB / 0.7184 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.5466, allocations: 2.562 kB / 0.7184 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5466, allocations: 2.906 kB / 0.7184 GB, free: 9.48 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.5468, allocations: 98.67 kB / 0.7185 GB, free: 9.457 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.5468, allocations: 9.172 kB / 0.7185 GB, free: 9.453 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.547, allocations: 49.25 kB / 0.7185 GB, free: 9.418 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.803e-05/0.5471, allocations: 48.42 kB / 0.7186 GB, free: 9.41 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.0002685/0.5474, allocations: 159.7 kB / 0.7187 GB, free: 9.266 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.5474, allocations: 62.31 kB / 0.7188 GB, free: 9.23 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.5483, allocations: 0.6313 MB / 0.7194 GB, free: 8.887 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.5483, allocations: 2.719 kB / 0.7194 GB, free: 8.887 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/0.5483, allocations: 0 / 0.7194 GB, free: 8.887 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.5483, allocations: 3.984 kB / 0.7194 GB, free: 8.883 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5493, allocations: 0.7762 MB / 0.7202 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5494, allocations: 0 / 0.7202 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.5495, allocations: 66.7 kB / 0.7202 GB, free: 8.289 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001275/0.5496, allocations: 32.94 kB / 0.7203 GB, free: 8.27 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.5496, allocations: 16 kB / 0.7203 GB, free: 8.262 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003207/0.55, allocations: 0.5433 MB / 0.7208 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.55, allocations: 0 / 0.7208 GB, free: 7.719 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.5504, allocations: 0.4991 MB / 0.7213 GB, free: 7.398 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.5506, allocations: 87.45 kB / 0.7214 GB, free: 7.336 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.5506, allocations: 6.875 kB / 0.7214 GB, free: 7.332 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.5508, allocations: 9 kB / 0.7214 GB, free: 7.328 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.436e-05/0.5508, allocations: 25.3 kB / 0.7214 GB, free: 7.316 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.5509, allocations: 32.25 kB / 0.7215 GB, free: 7.309 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003013/0.5512, allocations: 357.5 kB / 0.7218 GB, free: 7.098 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.5512, allocations: 0 / 0.7218 GB, free: 7.098 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007279/0.5519, allocations: 208.9 kB / 0.722 GB, free: 7.047 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.001322/0.5532, allocations: 1.27 MB / 0.7232 GB, free: 6.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.5536, allocations: 244.7 kB / 0.7235 GB, free: 5.988 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5536, allocations: 2.781 kB / 0.7235 GB, free: 5.988 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.5537, allocations: 111.5 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.0007089/0.5544, allocations: 230.2 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.004279/0.5587, allocations: 4.084 MB / 0.7278 GB, free: 3.098 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.559, allocations: 244.7 kB / 0.728 GB, free: 2.934 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0007519/0.5597, allocations: 405.7 kB / 0.7284 GB, free: 2.738 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002709/0.56, allocations: 244.8 kB / 0.7286 GB, free: 2.559 MB / 0.573 GB Notification: Performance of SimCode: time 1.002e-06/0.56, allocations: 0 / 0.7286 GB, free: 2.559 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03776/0.5977, allocations: 17.84 MB / 0.7461 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/9.247, allocations: 4.062 kB / 0.7461 GB, free: 8.062 MB / 0.5886 GB " [Timeout remaining time 651] (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: 12.357479837723076] Failed to read output from testmodel.py, exit status != 0: 9.344527567736804 9.35499653 8.816624385 Calling exit ...