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.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.001954/0.001954, 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.0022/0.0022, 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.505/1.505, allocations: 222.9 MB / 245.7 MB, free: 4.234 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.18/1.18, allocations: 147.6 MB / 445.5 MB, free: 8.246 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.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: Performance of FrontEnd - loaded program: time 0.2909/0.2909, allocations: 67.48 kB / 0.611 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.4623, allocations: 83.15 MB / 0.6922 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001856/0.4641, allocations: 0.693 MB / 0.6928 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.4653, allocations: 0.8588 MB / 0.6937 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.134e-05/0.4654, allocations: 1.875 kB / 0.6937 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.474e-05/0.4654, allocations: 7.922 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.68e-05/0.4655, allocations: 3.938 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.4657, allocations: 23.45 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.558e-05/0.4658, allocations: 53.73 kB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.4659, allocations: 9.375 kB / 0.6938 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.466, allocations: 17.33 kB / 0.6938 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.849e-05/0.466, allocations: 26.08 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.466, allocations: 2.156 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.379e-05/0.4661, allocations: 4.281 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.992e-05/0.4661, allocations: 9.359 kB / 0.6938 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.4661, allocations: 14.56 kB / 0.6938 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.4662, allocations: 43.45 kB / 0.6939 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4663, allocations: 9.141 kB / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4663, allocations: 0 / 0.6939 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.4663, allocations: 0 / 0.6939 GB, free: 12.01 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005983/0.4669, allocations: 363 kB / 0.6942 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4669, allocations: 9.438 kB / 0.6942 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.587e-05/0.467, allocations: 30.75 kB / 0.6943 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.467, allocations: 7.516 kB / 0.6943 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.4672, allocations: 174.6 kB / 0.6944 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4672, allocations: 5.5 kB / 0.6945 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.4672, allocations: 6 kB / 0.6945 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.4675, allocations: 62.81 kB / 0.6945 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4675, allocations: 5.594 kB / 0.6945 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.4675, allocations: 4 kB / 0.6945 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4675, allocations: 0 / 0.6945 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.4678, allocations: 71.39 kB / 0.6946 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003941/0.4682, allocations: 263.5 kB / 0.6948 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.4685, allocations: 52.2 kB / 0.6949 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.4686, allocations: 43.62 kB / 0.6949 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4687, allocations: 1.25 kB / 0.6949 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4687, allocations: 34.5 kB / 0.695 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4687, allocations: 0 / 0.695 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006055/0.4693, allocations: 130.1 kB / 0.6951 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.4694, allocations: 56.19 kB / 0.6951 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.4695, allocations: 112.4 kB / 0.6953 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.4695, allocations: 25.7 kB / 0.6953 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.4696, allocations: 94.62 kB / 0.6954 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.083e-05/0.4696, allocations: 5.359 kB / 0.6954 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.762e-05/0.4697, allocations: 12 kB / 0.6954 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4698, allocations: 320.2 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.47, allocations: 32.62 kB / 0.6957 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4702, allocations: 37.83 kB / 0.6958 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003165/0.4705, allocations: 75.81 kB / 0.6958 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4705, allocations: 4 kB / 0.6958 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003941/0.4709, allocations: 97.23 kB / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4709, allocations: 5.156 kB / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4709, allocations: 1.344 kB / 0.6959 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.471, allocations: 3.938 kB / 0.6959 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.4711, allocations: 14.36 kB / 0.696 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.4711, allocations: 5.281 kB / 0.696 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.622e-05/0.4712, allocations: 13.88 kB / 0.696 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4712, allocations: 1.625 kB / 0.696 GB, free: 9.996 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 (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 0.000114/0.4714, allocations: 115.4 kB / 0.6961 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.4714, allocations: 5.5 kB / 0.6961 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.4714, allocations: 6 kB / 0.6961 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4714, allocations: 336 / 0.6961 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4715, allocations: 1.344 kB / 0.6961 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4715, allocations: 4 kB / 0.6961 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002138/0.4717, allocations: 177 kB / 0.6963 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4717, allocations: 0 / 0.6963 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.4718, allocations: 19.53 kB / 0.6963 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4718, allocations: 0 / 0.6963 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.4718, allocations: 0 / 0.6963 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4718, allocations: 1.969 kB / 0.6963 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4718, allocations: 0 / 0.6963 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.4723, allocations: 204.2 kB / 0.6965 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.4723, allocations: 78.55 kB / 0.6966 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.4723, allocations: 0 / 0.6966 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.4725, allocations: 11.45 kB / 0.6966 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.4725, allocations: 13.48 kB / 0.6966 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.4725, allocations: 5.312 kB / 0.6966 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.901e-05/0.4726, allocations: 89.38 kB / 0.6967 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4726, allocations: 0 / 0.6967 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002223/0.4728, allocations: 6.094 kB / 0.6967 GB, free: 9.262 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 (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.0008075/0.4736, allocations: 0.7336 MB / 0.6974 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003704/0.474, allocations: 69.11 kB / 0.6975 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.474, allocations: 0 / 0.6975 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.4742, allocations: 42.52 kB / 0.6975 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.4746, allocations: 8.531 kB / 0.6975 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.4751, allocations: 147.7 kB / 0.6976 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4755, allocations: 0.6809 MB / 0.6983 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.4755, allocations: 1.375 kB / 0.6983 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.331e-05/0.4756, allocations: 20.75 kB / 0.6983 GB, free: 7.629 MB / 0.5137 GB Notification: Performance of SimCode: time 6.31e-07/0.4756, allocations: 5.375 kB / 0.6983 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0279/0.5035, allocations: 1.662 MB / 0.7 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.798/8.301, allocations: 0 / 0.7 GB, free: 6.68 MB / 0.5137 GB " [Timeout remaining time 652] (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: 12.048388958908617] Failed to read output from testmodel.py, exit status != 0: 8.366456340067089 8.380633431 7.911584613 Calling exit ...