Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 107.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002421/0.002421, allocations: 278.4 kB / 303 MB, free: 9.508 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.235/1.235, allocations: 180.9 MB / 0.5261 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 98.23 kB / 0.7247 GB, free: 40.1 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1889, allocations: 94.16 MB / 0.8167 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001804/0.1907, allocations: 0.5983 MB / 0.8173 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 3.748e-05/0.1907, allocations: 0 / 0.8173 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.035e-05/0.1907, allocations: 0 / 0.8173 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.231e-05/0.1907, allocations: 0 / 0.8173 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-06/0.1907, allocations: 4 kB / 0.8173 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.748e-05/0.1908, allocations: 3.984 kB / 0.8173 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.292e-05/0.1908, allocations: 4 kB / 0.8173 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.2e-05/0.1909, allocations: 4 kB / 0.8173 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.1909, allocations: 0 / 0.8173 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.682e-05/0.1909, allocations: 0 / 0.8173 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.1909, allocations: 0 / 0.8173 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.715e-06/0.1909, allocations: 0 / 0.8173 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.38e-05/0.1909, allocations: 7.922 kB / 0.8173 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.191, allocations: 4 kB / 0.8173 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 4.786e-05/0.191, allocations: 0 / 0.8173 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.191, allocations: 4 kB / 0.8173 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.275e-06/0.191, allocations: 0 / 0.8173 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.191, allocations: 0 / 0.8173 GB, free: 4.852 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003232/0.1913, allocations: 315.5 kB / 0.8176 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1914, allocations: 8.031 kB / 0.8176 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1914, allocations: 34.75 kB / 0.8176 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.675e-05/0.1914, allocations: 0.9375 kB / 0.8176 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.1915, allocations: 164.3 kB / 0.8178 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1916, allocations: 384 / 0.8178 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1916, allocations: 8.375 kB / 0.8178 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.47e-05/0.1916, allocations: 26.27 kB / 0.8178 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1917, allocations: 3.938 kB / 0.8178 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.1917, allocations: 0 / 0.8178 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1917, allocations: 0 / 0.8178 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.1917, allocations: 7.984 kB / 0.8178 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1918, allocations: 145.6 kB / 0.818 GB, free: 4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.741e-05/0.1919, allocations: 18.58 kB / 0.818 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.1919, allocations: 12.95 kB / 0.818 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.1919, allocations: 0 / 0.818 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.1919, allocations: 30.56 kB / 0.818 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 6.72e-07/0.1919, allocations: 0 / 0.818 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001192/0.1921, allocations: 41.56 kB / 0.8181 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.1921, allocations: 59.41 kB / 0.8181 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.886e-05/0.1921, allocations: 89.86 kB / 0.8182 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1922, allocations: 33.77 kB / 0.8183 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.1922, allocations: 80.14 kB / 0.8183 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.1922, allocations: 3.953 kB / 0.8183 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1922, allocations: 9.719 kB / 0.8183 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1924, allocations: 314.8 kB / 0.8186 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-06/0.1924, allocations: 0 / 0.8186 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-06/0.1924, allocations: 0 / 0.8186 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.645e-05/0.1924, allocations: 16.92 kB / 0.8187 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1924, allocations: 0 / 0.8187 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.792e-05/0.1925, allocations: 37.62 kB / 0.8187 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1925, allocations: 4 kB / 0.8187 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1925, allocations: 7.938 kB / 0.8187 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1925, allocations: 0 / 0.8187 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.1926, allocations: 0 / 0.8187 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.1926, allocations: 0 / 0.8187 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-06/0.1926, allocations: 0 / 0.8187 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.1926, allocations: 0 / 0.8187 GB, free: 3.172 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 6.847e-05/0.1926, allocations: 113.9 kB / 0.8188 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-06/0.1926, allocations: 0 / 0.8188 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.532e-05/0.1927, allocations: 11.06 kB / 0.8188 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1927, allocations: 0 / 0.8188 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1927, allocations: 3.984 kB / 0.8188 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-06/0.1927, allocations: 0 / 0.8188 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.841e-05/0.1928, allocations: 146 kB / 0.819 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1928, allocations: 4 kB / 0.819 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.266e-06/0.1928, allocations: 3.938 kB / 0.819 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1928, allocations: 0 / 0.819 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1928, allocations: 7.938 kB / 0.819 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1928, allocations: 0 / 0.819 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.1928, allocations: 4 kB / 0.819 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.606e-05/0.1928, allocations: 61.06 kB / 0.8191 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.1929, allocations: 77.11 kB / 0.8191 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.028e-05/0.1929, allocations: 3.938 kB / 0.8191 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-06/0.1929, allocations: 0 / 0.8191 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.1929, allocations: 12.02 kB / 0.8191 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-06/0.1929, allocations: 0 / 0.8191 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.1929, allocations: 79.22 kB / 0.8192 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1929, allocations: 0 / 0.8192 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001771/0.1931, allocations: 0 / 0.8192 GB, free: 2.562 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0003609/0.1935, allocations: 0.597 MB / 0.8198 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.497e-05/0.1935, allocations: 7.938 kB / 0.8198 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1936, allocations: 0 / 0.8198 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/0.1936, allocations: 4 kB / 0.8198 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.1937, allocations: 8.719 kB / 0.8198 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.194, allocations: 114.6 kB / 0.8199 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1943, allocations: 0.669 MB / 0.8206 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.1943, allocations: 128 / 0.8206 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.589e-05/0.1943, allocations: 11.44 kB / 0.8206 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1943, allocations: 0 / 0.8206 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/0.2153, allocations: 0.9047 MB / 0.8215 GB, free: 248 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.791/8.006, allocations: 5.234 kB / 0.8215 GB, free: 244 kB / 0.5606 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.127167830243707] Failed to read output from testmodel.py, exit status != 0: 8.070763753261417 8.084434235 7.890691981 Calling exit ...