Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001824/0.001824, allocations: 110.8 kB / 17.08 MB, free: 5.988 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.002017/0.002017, allocations: 194.7 kB / 20.03 MB, free: 3.055 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.489/1.489, allocations: 222.9 MB / 245.7 MB, free: 4.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.137/1.137, allocations: 147.6 MB / 445.5 MB, free: 8.379 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002286, allocations: 65.53 kB / 0.6114 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1814, allocations: 83.17 MB / 0.6926 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.00215/0.1836, allocations: 0.7218 MB / 0.6933 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.1853, allocations: 1.147 MB / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/0.1854, allocations: 0 / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.1854, allocations: 3.938 kB / 0.6944 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.259e-05/0.1855, allocations: 9.656 kB / 0.6944 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1861, allocations: 141.6 kB / 0.6946 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.1863, allocations: 116.7 kB / 0.6947 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1864, allocations: 14.86 kB / 0.6947 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/0.1865, allocations: 52.52 kB / 0.6947 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.1866, allocations: 50.81 kB / 0.6948 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1867, allocations: 11 kB / 0.6948 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.031e-05/0.1868, allocations: 20.48 kB / 0.6948 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.1868, allocations: 14.73 kB / 0.6948 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.564e-05/0.1869, allocations: 40.22 kB / 0.6949 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.1871, allocations: 112.4 kB / 0.695 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1871, allocations: 1.375 kB / 0.695 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1871, allocations: 0 / 0.695 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.1872, allocations: 0 / 0.695 GB, free: 11.24 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007388/0.1879, allocations: 421.8 kB / 0.6954 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1879, allocations: 8.25 kB / 0.6954 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.188, allocations: 10.39 kB / 0.6954 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.1882, allocations: 172.4 kB / 0.6956 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.1882, allocations: 3.125 kB / 0.6956 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.1883, allocations: 11.25 kB / 0.6956 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.1885, allocations: 60.09 kB / 0.6956 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1885, allocations: 192 / 0.6956 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.1885, allocations: 13.31 kB / 0.6956 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.1885, allocations: 0 / 0.6956 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.1887, allocations: 43.27 kB / 0.6957 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.1894, allocations: 334.9 kB / 0.696 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1896, allocations: 67.23 kB / 0.6961 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1897, allocations: 29.47 kB / 0.6961 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.1897, allocations: 0 / 0.6961 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.19, allocations: 92.05 kB / 0.6962 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.784e-06/0.19, allocations: 3.938 kB / 0.6962 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0004675/0.1904, allocations: 147.5 kB / 0.6963 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1905, allocations: 58.08 kB / 0.6964 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.1906, allocations: 114.9 kB / 0.6965 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1907, allocations: 28.7 kB / 0.6965 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.1907, allocations: 100.3 kB / 0.6966 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1908, allocations: 14.77 kB / 0.6966 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.17e-05/0.1909, allocations: 41.39 kB / 0.6967 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.191, allocations: 320.9 kB / 0.697 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.1912, allocations: 47.5 kB / 0.697 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.1914, allocations: 87.5 kB / 0.6971 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.1917, allocations: 144.2 kB / 0.6972 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1917, allocations: 1.188 kB / 0.6972 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004555/0.1922, allocations: 212.6 kB / 0.6974 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.1922, allocations: 45.66 kB / 0.6975 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1922, allocations: 1.25 kB / 0.6975 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1922, allocations: 2.812 kB / 0.6975 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1923, allocations: 11.11 kB / 0.6975 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1924, allocations: 1.406 kB / 0.6975 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.1926, allocations: 32.45 kB / 0.6975 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.1926, allocations: 13.97 kB / 0.6975 GB, free: 8.855 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001128/0.1927, allocations: 131.8 kB / 0.6977 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.1927, allocations: 6.891 kB / 0.6977 GB, free: 8.723 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.629e-05/0.1928, allocations: 13.77 kB / 0.6977 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1928, allocations: 0 / 0.6977 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1928, allocations: 2.25 kB / 0.6977 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1928, allocations: 0 / 0.6977 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.1933, allocations: 383.1 kB / 0.6981 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.1934, allocations: 3.984 kB / 0.6981 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.1934, allocations: 5.594 kB / 0.6981 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1934, allocations: 0 / 0.6981 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/0.1934, allocations: 1.406 kB / 0.6981 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.1934, allocations: 5.391 kB / 0.6981 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1935, allocations: 0 / 0.6981 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.1938, allocations: 213.6 kB / 0.6983 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.1939, allocations: 78.83 kB / 0.6984 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1939, allocations: 0 / 0.6984 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.843e-05/0.194, allocations: 12.52 kB / 0.6984 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.194, allocations: 6.562 kB / 0.6984 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1941, allocations: 10.5 kB / 0.6984 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.088e-05/0.1941, allocations: 96.66 kB / 0.6985 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1941, allocations: 4 kB / 0.6985 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002634/0.1944, allocations: 28.03 kB / 0.6985 GB, free: 7.938 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001837/0.1946, allocations: 106.1 kB / 0.6986 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.195, allocations: 177 kB / 0.6988 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.195, allocations: 0 / 0.6988 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.1952, allocations: 48.16 kB / 0.6988 GB, free: 7.676 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1955, allocations: 16.61 kB / 0.6988 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003808/0.1959, allocations: 158.7 kB / 0.699 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1962, allocations: 0.6885 MB / 0.6997 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.364e-05/0.1962, allocations: 4 kB / 0.6997 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.1963, allocations: 23.42 kB / 0.6997 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1963, allocations: 0 / 0.6997 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of Templates: time 0.004405/0.2007, allocations: 1.429 MB / 0.7011 GB, free: 5.324 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.818352705333382] Failed to read output from testmodel.py, exit status != 0: 0.47902751294896007 0.22101229100000003 0.031310484 Calling exit ...