Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.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.00182/0.00182, allocations: 108.8 kB / 17.07 MB, free: 6 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.002113/0.002113, allocations: 191.8 kB / 20.02 MB, free: 3.07 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.535/1.535, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.106/1.106, allocations: 147.6 MB / 445.6 MB, free: 8.352 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 64.77 kB / 0.611 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1795, allocations: 83.16 MB / 0.6922 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001795/0.1814, allocations: 0.6317 MB / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001512/0.1816, allocations: 10.92 kB / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.1816, allocations: 0 / 0.6928 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.1817, allocations: 5.125 kB / 0.6928 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.549e-05/0.1818, allocations: 5.281 kB / 0.6928 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 7.749e-05/0.1819, allocations: 9.172 kB / 0.6928 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.417e-05/0.182, allocations: 21.86 kB / 0.6928 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1821, allocations: 37.23 kB / 0.6929 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.804e-05/0.1821, allocations: 17.84 kB / 0.6929 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.1822, allocations: 16.05 kB / 0.6929 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1822, allocations: 3.406 kB / 0.6929 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.497e-05/0.1822, allocations: 2.219 kB / 0.6929 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.39e-05/0.1823, allocations: 16.39 kB / 0.6929 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.002e-05/0.1823, allocations: 16.5 kB / 0.6929 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.1824, allocations: 48.98 kB / 0.693 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1825, allocations: 4 kB / 0.693 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1825, allocations: 0 / 0.693 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1825, allocations: 0 / 0.693 GB, free: 12.71 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004171/0.1829, allocations: 350.7 kB / 0.6933 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.1829, allocations: 12.94 kB / 0.6933 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.183, allocations: 37.06 kB / 0.6934 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.183, allocations: 7.828 kB / 0.6934 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001881/0.1832, allocations: 176.7 kB / 0.6935 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1832, allocations: 5.812 kB / 0.6936 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.1832, allocations: 7.594 kB / 0.6936 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1834, allocations: 79.62 kB / 0.6936 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.1834, allocations: 5.75 kB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1835, allocations: 4 kB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1835, allocations: 1.781 kB / 0.6936 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.1835, allocations: 48.97 kB / 0.6937 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.1841, allocations: 489.1 kB / 0.6942 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1842, allocations: 173.1 kB / 0.6943 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.1843, allocations: 80.14 kB / 0.6944 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1843, allocations: 75.28 kB / 0.6945 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.477e-05/0.1844, allocations: 112.8 kB / 0.6946 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.113e-06/0.1844, allocations: 0 / 0.6946 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.541e-05/0.1845, allocations: 36.97 kB / 0.6946 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.1845, allocations: 134.6 kB / 0.6947 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1847, allocations: 172 kB / 0.6949 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1847, allocations: 25.7 kB / 0.6949 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1848, allocations: 91.77 kB / 0.695 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/0.1848, allocations: 3.875 kB / 0.695 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.1849, allocations: 9.719 kB / 0.695 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.185, allocations: 322.6 kB / 0.6953 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.169e-05/0.185, allocations: 7.047 kB / 0.6953 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.508e-05/0.1851, allocations: 15.48 kB / 0.6954 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.753e-05/0.1851, allocations: 14.28 kB / 0.6954 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1851, allocations: 0 / 0.6954 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.00013/0.1852, allocations: 55.77 kB / 0.6954 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1853, allocations: 5.531 kB / 0.6954 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1853, allocations: 3.938 kB / 0.6954 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1853, allocations: 0.8438 kB / 0.6954 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.1854, allocations: 6.625 kB / 0.6954 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1854, allocations: 5.125 kB / 0.6954 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.109e-05/0.1855, allocations: 7.422 kB / 0.6955 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.1855, allocations: 5.172 kB / 0.6955 GB, free: 10.18 MB / 0.5137 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 0.0001338/0.1856, allocations: 197.4 kB / 0.6956 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.454e-05/0.1857, allocations: 111.4 kB / 0.6958 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/0.1858, allocations: 112.9 kB / 0.6959 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.074e-05/0.1859, allocations: 189.1 kB / 0.696 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.571e-05/0.186, allocations: 185.1 kB / 0.6962 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/0.1861, allocations: 185.1 kB / 0.6964 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.1863, allocations: 418.1 kB / 0.6968 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.571e-05/0.1864, allocations: 106.2 kB / 0.6969 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.004e-05/0.1865, allocations: 101 kB / 0.697 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.338e-05/0.1865, allocations: 185.9 kB / 0.6972 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-05/0.1866, allocations: 177.5 kB / 0.6973 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.018e-05/0.1867, allocations: 184.2 kB / 0.6975 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.197e-05/0.1868, allocations: 181.2 kB / 0.6977 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.187, allocations: 313.4 kB / 0.698 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.1871, allocations: 194.4 kB / 0.6982 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/0.1872, allocations: 177.5 kB / 0.6983 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.1873, allocations: 114.1 kB / 0.6985 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.1874, allocations: 177.2 kB / 0.6986 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.1875, allocations: 109.9 kB / 0.6987 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001136/0.1876, allocations: 134.8 kB / 0.6989 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.1876, allocations: 0 / 0.6989 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002304/0.1878, allocations: 5.281 kB / 0.6989 GB, free: 6.551 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0005434/0.1884, allocations: 0.8074 MB / 0.6996 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.843e-05/0.1885, allocations: 18.3 kB / 0.6997 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.1885, allocations: 0 / 0.6997 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1885, allocations: 3.938 kB / 0.6997 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004988/0.189, allocations: 463.3 kB / 0.7001 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.1905, allocations: 1.596 MB / 0.7017 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.1908, allocations: 0.6929 MB / 0.7023 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.513e-05/0.1909, allocations: 5.594 kB / 0.7023 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/0.1909, allocations: 16.75 kB / 0.7024 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.1909, allocations: 0 / 0.7024 GB, free: 3.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/0.2141, allocations: 1.615 MB / 0.7039 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.818/8.032, allocations: 4.703 kB / 0.7039 GB, free: 2.207 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_MultiMax.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.107797245960683] Failed to read output from testmodel.py, exit status != 0: 8.461127005983144 8.137942368 7.95095916 Calling exit ...