Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.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.001338/0.001338, allocations: 100.3 kB / 19.69 MB, free: 1.805 MB / 14.72 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.001483/0.001483, allocations: 210.7 kB / 22.99 MB, free: 4.609 MB / 14.72 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9824/0.9824, allocations: 149.9 MB / 463.1 MB, free: 10.32 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 71.56 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1913, allocations: 89.17 MB / 0.7282 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.00211/0.1934, allocations: 0.6847 MB / 0.7289 GB, free: 308 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1947, allocations: 0.8861 MB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.654e-05/0.1947, allocations: 0 / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.1947, allocations: 7.938 kB / 0.7297 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.1948, allocations: 11.92 kB / 0.7298 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.195, allocations: 11.98 kB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.1951, allocations: 47.84 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1952, allocations: 4 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.404e-05/0.1953, allocations: 23.92 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.1953, allocations: 15.92 kB / 0.7299 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.1953, allocations: 8 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1954, allocations: 4 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.1954, allocations: 15.91 kB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1954, allocations: 11.94 kB / 0.7299 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001081/0.1955, allocations: 40.09 kB / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1955, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1955, allocations: 0 / 0.7299 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1955, allocations: 0 / 0.7299 GB, free: 15.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005295/0.1961, allocations: 290.2 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1961, allocations: 16.03 kB / 0.7302 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1961, allocations: 34.69 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.748e-05/0.1962, allocations: 4.938 kB / 0.7303 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1963, allocations: 118.4 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1963, allocations: 4.375 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.1963, allocations: 4.375 kB / 0.7304 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.1966, allocations: 70.2 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1966, allocations: 3.938 kB / 0.7304 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.1966, allocations: 4 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1966, allocations: 4 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.1969, allocations: 59.94 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1973, allocations: 235.9 kB / 0.7307 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1975, allocations: 50.64 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.1977, allocations: 44.81 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1977, allocations: 4 kB / 0.7308 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.1977, allocations: 30.56 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1977, allocations: 0 / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0005448/0.1982, allocations: 133.5 kB / 0.731 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.1983, allocations: 55.41 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.419e-05/0.1984, allocations: 113.8 kB / 0.7312 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1984, allocations: 25.7 kB / 0.7312 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.698e-05/0.1985, allocations: 84.14 kB / 0.7313 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.928e-05/0.1985, allocations: 7.953 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.1985, allocations: 17.7 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1987, allocations: 318.8 kB / 0.7316 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.1988, allocations: 27.97 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.199, allocations: 39.95 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002744/0.1992, allocations: 69 kB / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1992, allocations: 0 / 0.7317 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003219/0.1996, allocations: 109.5 kB / 0.7318 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1996, allocations: 8 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1996, allocations: 0 / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1996, allocations: 0 / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.1997, allocations: 15.98 kB / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1997, allocations: 0 / 0.7318 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.1998, allocations: 15.97 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.866e-06/0.1998, allocations: 4 kB / 0.7319 GB, free: 13.02 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 (3): * Single equations (assignments): 3 * 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 9.878e-05/0.1999, allocations: 109.8 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.1999, allocations: 11.95 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.2, allocations: 8 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2, allocations: 0 / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2, allocations: 0 / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.2, allocations: 4 kB / 0.732 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2002, allocations: 136.6 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2002, allocations: 3.984 kB / 0.7321 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.79e-05/0.2003, allocations: 15.98 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2003, allocations: 3.938 kB / 0.7321 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2003, allocations: 7.938 kB / 0.7321 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.2003, allocations: 8 kB / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2003, allocations: 0 / 0.7322 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.2007, allocations: 191.4 kB / 0.7323 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.2007, allocations: 11.89 kB / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.2007, allocations: 0 / 0.7324 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.2008, allocations: 15.98 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.2008, allocations: 7.984 kB / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.2008, allocations: 0 / 0.7324 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.2009, allocations: 87.28 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2009, allocations: 0 / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002167/0.2011, allocations: 8 kB / 0.7325 GB, free: 12.33 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 (3): * Single equations (assignments): 3 * 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.0007216/0.2018, allocations: 0.724 MB / 0.7332 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003581/0.2022, allocations: 67.92 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2022, allocations: 0 / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2024, allocations: 43.89 kB / 0.7333 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.2027, allocations: 6.031 kB / 0.7333 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.2032, allocations: 167.1 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.2033, allocations: 63.34 kB / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.076e-05/0.2033, allocations: 0 / 0.7335 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.2034, allocations: 15.44 kB / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2034, allocations: 0 / 0.7335 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.2325, allocations: 2.24 MB / 0.7357 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.55, allocations: 19.94 kB / 0.7357 GB, free: 9.059 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Modulo.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.285987799987197] Failed to read output from testmodel.py, exit status != 0: 11.661836591083556 11.688378404 11.487973206 Calling exit ...