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.0008608/0.0008608, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001546/0.001546, allocations: 211.6 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.9927/0.9927, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.7195/0.7195, allocations: 150.8 MB / 463.2 MB, free: 6.453 MB / 362.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 0.001175/0.001175, allocations: 85.09 kB / 0.6392 GB, free: 32.56 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1543, allocations: 88.08 MB / 0.7252 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.Volumes.Volume): time 0.5144/0.6687, allocations: 152.7 MB / 0.8742 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003239/0.6719, allocations: 2.471 MB / 0.8767 GB, free: 464 kB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.6724, allocations: 36.56 kB / 0.8767 GB, free: 440 kB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007087/0.6731, allocations: 228.5 kB / 0.8769 GB, free: 348 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002145/0.6753, allocations: 1.034 MB / 0.8779 GB, free: 56 kB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.6767, allocations: 0.631 MB / 0.8785 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.678, allocations: 1.075 MB / 0.8796 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.6782, allocations: 76.33 kB / 0.8797 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00163/0.6799, allocations: 0.7253 MB / 0.8804 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.6803, allocations: 308.4 kB / 0.8807 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.6804, allocations: 42.44 kB / 0.8807 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001192/0.6816, allocations: 0.6978 MB / 0.8814 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.6817, allocations: 112.8 kB / 0.8815 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.682, allocations: 243.4 kB / 0.8817 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.6834, allocations: 1.168 MB / 0.8829 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6834, allocations: 0 / 0.8829 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.836e-06/0.6834, allocations: 0 / 0.8829 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.6835, allocations: 0 / 0.8829 GB, free: 15.25 MB / 0.6511 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.001303/0.6848, allocations: 0.9263 MB / 0.8838 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.6848, allocations: 8.562 kB / 0.8838 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.6849, allocations: 82.45 kB / 0.8839 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005129/0.6854, allocations: 132.9 kB / 0.884 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006139/0.686, allocations: 439.6 kB / 0.8844 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.6861, allocations: 87.56 kB / 0.8845 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.6864, allocations: 42.2 kB / 0.8845 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.687, allocations: 0.6448 MB / 0.8852 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.687, allocations: 5.25 kB / 0.8852 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.6871, allocations: 19.81 kB / 0.8852 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.6871, allocations: 10.38 kB / 0.8852 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.6875, allocations: 328.1 kB / 0.8855 GB, free: 13.58 MB / 0.6511 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.0018/0.6893, allocations: 1.61 MB / 0.8871 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.6896, allocations: 232.9 kB / 0.8873 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.6897, allocations: 107.9 kB / 0.8874 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.6899, allocations: 48.22 kB / 0.8874 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.6899, allocations: 39.72 kB / 0.8875 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.6899, allocations: 0 / 0.8875 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29): time 0.0005744/0.6905, allocations: 402.4 kB / 0.8879 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.6905, allocations: 58.91 kB / 0.8879 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.6909, allocations: 0.5058 MB / 0.8884 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.74e-05/0.6909, allocations: 35.83 kB / 0.8884 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.6911, allocations: 286.1 kB / 0.8887 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.523e-05/0.6911, allocations: 100.1 kB / 0.8888 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-05/0.6912, allocations: 95.3 kB / 0.8889 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6913, allocations: 366.3 kB / 0.8893 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.6915, allocations: 94.92 kB / 0.8893 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.6916, allocations: 176 kB / 0.8895 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.6919, allocations: 274.9 kB / 0.8898 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.6919, allocations: 0 / 0.8898 GB, free: 10.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004359/0.6924, allocations: 399.5 kB / 0.8902 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6924, allocations: 9.141 kB / 0.8902 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6924, allocations: 3.625 kB / 0.8902 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.6924, allocations: 2.875 kB / 0.8902 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.6926, allocations: 97.2 kB / 0.8903 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.6926, allocations: 3.688 kB / 0.8903 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.6928, allocations: 47.31 kB / 0.8903 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.6928, allocations: 43.56 kB / 0.8904 GB, free: 10.59 MB / 0.6511 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.0001446/0.6929, allocations: 174 kB / 0.8905 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.782e-05/0.693, allocations: 59.72 kB / 0.8906 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007298/0.6937, allocations: 0.6219 MB / 0.8912 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.6937, allocations: 4.125 kB / 0.8912 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6937, allocations: 0 / 0.8912 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.6937, allocations: 1.547 kB / 0.8912 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007812/0.6945, allocations: 0.7839 MB / 0.892 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6945, allocations: 0 / 0.892 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.6947, allocations: 64.66 kB / 0.892 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/0.6948, allocations: 31.47 kB / 0.892 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.386e-05/0.6948, allocations: 16.98 kB / 0.8921 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002757/0.6951, allocations: 0.5312 MB / 0.8926 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6951, allocations: 0 / 0.8926 GB, free: 9.145 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.6956, allocations: 0.5148 MB / 0.8931 GB, free: 8.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.6957, allocations: 87.03 kB / 0.8932 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.6958, allocations: 7.719 kB / 0.8932 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.6959, allocations: 13.95 kB / 0.8932 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.696, allocations: 21.86 kB / 0.8932 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.696, allocations: 36.78 kB / 0.8932 GB, free: 8.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003036/0.6963, allocations: 356.5 kB / 0.8936 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7e-08/0.6963, allocations: 0 / 0.8936 GB, free: 8.609 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005121/0.6968, allocations: 205 kB / 0.8938 GB, free: 8.566 MB / 0.6511 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.001152/0.698, allocations: 1.26 MB / 0.895 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003478/0.6983, allocations: 236.6 kB / 0.8952 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6983, allocations: 0 / 0.8952 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001778/0.6985, allocations: 123.8 kB / 0.8954 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006774/0.6992, allocations: 230.2 kB / 0.8956 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.7035, allocations: 4.152 MB / 0.8996 GB, free: 5.078 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.7037, allocations: 242.7 kB / 0.8999 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0005838/0.7043, allocations: 410.7 kB / 0.9003 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.7046, allocations: 236.6 kB / 0.9005 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of SimCode: time 5.21e-07/0.7046, allocations: 0 / 0.9005 GB, free: 4.543 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.734, allocations: 17.72 MB / 0.9178 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.711, allocations: 7.859 kB / 0.9178 GB, free: 11.51 MB / 0.6667 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: 11.667425594292581] Failed to read output from testmodel.py, exit status != 0: 8.808017376810312 8.817399913 8.132050606 Calling exit ...