Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001813/0.001813, allocations: 111.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.002067/0.002067, 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.597/1.597, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.132/1.132, allocations: 147.6 MB / 445.6 MB, free: 8.332 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.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2797/0.2797, allocations: 64.48 kB / 0.6109 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.4481, allocations: 83.16 MB / 0.6921 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.002037/0.4502, allocations: 0.5298 MB / 0.6926 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 4.213e-05/0.4503, allocations: 1.594 kB / 0.6926 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.4503, allocations: 0 / 0.6926 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.4504, allocations: 0 / 0.6926 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.4504, allocations: 7.938 kB / 0.6926 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.801e-05/0.4505, allocations: 0 / 0.6926 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.079e-05/0.4505, allocations: 6.453 kB / 0.6926 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.02e-05/0.4506, allocations: 1.062 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.827e-05/0.4506, allocations: 4 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.047e-05/0.4506, allocations: 1.094 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.4507, allocations: 0 / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.31e-06/0.4507, allocations: 1.062 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.4507, allocations: 0 / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.4507, allocations: 1.125 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 7.071e-05/0.4508, allocations: 3.938 kB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.4508, allocations: 5.094 kB / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4508, allocations: 0 / 0.6927 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.4508, allocations: 0 / 0.6927 GB, free: 12.97 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003802/0.4512, allocations: 314.9 kB / 0.693 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4512, allocations: 10.12 kB / 0.693 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.4513, allocations: 34.75 kB / 0.693 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.054e-05/0.4513, allocations: 2.156 kB / 0.693 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4515, allocations: 160.4 kB / 0.6932 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4515, allocations: 1.406 kB / 0.6932 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.935e-06/0.4515, allocations: 4.375 kB / 0.6932 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.173e-05/0.4516, allocations: 36.34 kB / 0.6932 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4516, allocations: 3.938 kB / 0.6932 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.4516, allocations: 1.125 kB / 0.6932 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4516, allocations: 0 / 0.6932 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.471e-05/0.4517, allocations: 1.156 kB / 0.6932 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.452, allocations: 378.9 kB / 0.6936 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.4522, allocations: 178 kB / 0.6937 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.164e-05/0.4522, allocations: 89.19 kB / 0.6938 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.095e-05/0.4523, allocations: 75.28 kB / 0.6939 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.133e-05/0.4524, allocations: 107.1 kB / 0.694 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.4524, allocations: 0 / 0.694 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.486e-05/0.4524, allocations: 30.67 kB / 0.694 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.4525, allocations: 127.8 kB / 0.6942 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.4526, allocations: 92.23 kB / 0.6942 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.4527, allocations: 30.73 kB / 0.6943 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.4527, allocations: 88.06 kB / 0.6944 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.4527, allocations: 0 / 0.6944 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.4528, allocations: 15.84 kB / 0.6944 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4529, allocations: 318.9 kB / 0.6947 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.679e-06/0.4529, allocations: 1.094 kB / 0.6947 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-06/0.4529, allocations: 0 / 0.6947 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.274e-05/0.453, allocations: 75.28 kB / 0.6947 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.186e-05/0.453, allocations: 80.22 kB / 0.6948 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.6e-05/0.4531, allocations: 27.95 kB / 0.6948 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.4531, allocations: 80.69 kB / 0.6949 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/0.4532, allocations: 80.34 kB / 0.695 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.863e-05/0.4533, allocations: 167.7 kB / 0.6952 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.369e-05/0.4533, allocations: 75.28 kB / 0.6952 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-05/0.4534, allocations: 156.2 kB / 0.6954 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.4535, allocations: 76.47 kB / 0.6955 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.4535, allocations: 79.22 kB / 0.6955 GB, free: 9.836 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 (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 prepare postOptimizeDAE: time 0.0001644/0.4537, allocations: 268.1 kB / 0.6958 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.4538, allocations: 106 kB / 0.6959 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.094e-05/0.4538, allocations: 113.4 kB / 0.696 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.467e-05/0.4539, allocations: 181.2 kB / 0.6962 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.542e-05/0.454, allocations: 177.2 kB / 0.6963 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.639e-05/0.4541, allocations: 181.3 kB / 0.6965 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.4544, allocations: 410.4 kB / 0.6969 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/0.4544, allocations: 106 kB / 0.697 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.4545, allocations: 102 kB / 0.6971 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.702e-05/0.4546, allocations: 177.3 kB / 0.6973 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.028e-05/0.4547, allocations: 185.3 kB / 0.6974 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.83e-05/0.4548, allocations: 185.4 kB / 0.6976 GB, free: 7.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.531e-05/0.4549, allocations: 185.4 kB / 0.6978 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.4551, allocations: 303.5 kB / 0.6981 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.4552, allocations: 187 kB / 0.6983 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.4553, allocations: 181.5 kB / 0.6984 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.4554, allocations: 114 kB / 0.6985 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.4555, allocations: 177.5 kB / 0.6987 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/0.4555, allocations: 102.4 kB / 0.6988 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.551e-05/0.4556, allocations: 80.27 kB / 0.6989 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4556, allocations: 1.125 kB / 0.6989 GB, free: 6.195 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002627/0.4559, allocations: 0 / 0.6989 GB, free: 6.195 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.0005223/0.4564, allocations: 0.8096 MB / 0.6997 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.518e-05/0.4565, allocations: 7.922 kB / 0.6997 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4565, allocations: 0 / 0.6997 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-06/0.4565, allocations: 1.906 kB / 0.6997 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.4569, allocations: 469.7 kB / 0.7001 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4582, allocations: 1.523 MB / 0.7016 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.4586, allocations: 0.6702 MB / 0.7023 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.809e-06/0.4586, allocations: 0 / 0.7023 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.4586, allocations: 7.438 kB / 0.7023 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4587, allocations: 0 / 0.7023 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.4807, allocations: 0.9147 MB / 0.7032 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.255, allocations: 8.094 kB / 0.7032 GB, free: 2.074 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant_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_Logical_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.054502429906279] Failed to read output from testmodel.py, exit status != 0: 8.319881525123492 8.333781663 7.880301259 Calling exit ...