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.001426/0.001426, allocations: 108.4 kB / 17.07 MB, free: 6.004 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.001426/0.001426, allocations: 191.8 kB / 20.03 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.552/1.552, allocations: 222.9 MB / 245.7 MB, free: 4.238 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.122/1.122, allocations: 147.6 MB / 445.5 MB, free: 8.426 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.3122/0.3122, allocations: 60.23 kB / 0.6109 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.4613, allocations: 83.16 MB / 0.6921 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001793/0.4632, allocations: 0.5343 MB / 0.6926 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 4.5e-05/0.4632, allocations: 4 kB / 0.6926 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.512e-05/0.4633, allocations: 1.031 kB / 0.6926 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.4633, allocations: 0 / 0.6926 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.808e-05/0.4633, allocations: 3.938 kB / 0.6926 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.116e-05/0.4634, allocations: 0.8125 kB / 0.6926 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.504e-05/0.4634, allocations: 1.094 kB / 0.6926 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.93e-05/0.4635, allocations: 5.828 kB / 0.6926 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.4635, allocations: 0 / 0.6926 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.796e-05/0.4635, allocations: 1.469 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.4636, allocations: 0 / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.109e-06/0.4636, allocations: 0 / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.4636, allocations: 9 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.4636, allocations: 3.938 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.267e-05/0.4637, allocations: 1.062 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4637, allocations: 1.062 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4637, allocations: 0 / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.4637, allocations: 0 / 0.6927 GB, free: 12.99 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.0003881/0.4641, allocations: 310.8 kB / 0.693 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.4642, allocations: 10.16 kB / 0.693 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.4642, allocations: 30.75 kB / 0.693 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.4642, allocations: 6.062 kB / 0.693 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.4644, allocations: 164.4 kB / 0.6932 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.4644, allocations: 1.531 kB / 0.6932 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.4644, allocations: 384 / 0.6932 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4645, allocations: 32.48 kB / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4646, allocations: 3.938 kB / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.4646, allocations: 0 / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4646, allocations: 1.125 kB / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.4646, allocations: 5.109 kB / 0.6932 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.465, allocations: 383.1 kB / 0.6936 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.4651, allocations: 174.2 kB / 0.6937 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.4652, allocations: 88.12 kB / 0.6938 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.41e-05/0.4652, allocations: 75.28 kB / 0.6939 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.093e-05/0.4653, allocations: 114.9 kB / 0.694 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4653, allocations: 1.156 kB / 0.694 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.529e-05/0.4654, allocations: 26.86 kB / 0.694 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.4655, allocations: 126.7 kB / 0.6941 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.4656, allocations: 93.23 kB / 0.6942 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4656, allocations: 33.58 kB / 0.6943 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.4656, allocations: 81.42 kB / 0.6943 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.068e-06/0.4656, allocations: 4.125 kB / 0.6944 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.4657, allocations: 23.17 kB / 0.6944 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4658, allocations: 310.8 kB / 0.6947 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.64e-06/0.4658, allocations: 0 / 0.6947 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-06/0.4658, allocations: 1.5 kB / 0.6947 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.588e-05/0.4659, allocations: 75.28 kB / 0.6947 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-05/0.4659, allocations: 79.22 kB / 0.6948 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.639e-05/0.466, allocations: 28.17 kB / 0.6948 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.466, allocations: 85.03 kB / 0.6949 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-05/0.4661, allocations: 80.31 kB / 0.695 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.627e-05/0.4662, allocations: 156 kB / 0.6952 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.173e-05/0.4662, allocations: 75.28 kB / 0.6952 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.063e-05/0.4663, allocations: 163.5 kB / 0.6954 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.82e-05/0.4664, allocations: 77.56 kB / 0.6955 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.4664, allocations: 83.22 kB / 0.6955 GB, free: 9.855 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.0001613/0.4666, allocations: 261.7 kB / 0.6958 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.4667, allocations: 107.6 kB / 0.6959 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.4668, allocations: 112 kB / 0.696 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.345e-05/0.4669, allocations: 184.2 kB / 0.6962 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.12e-05/0.4669, allocations: 182.9 kB / 0.6963 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-05/0.467, allocations: 180.2 kB / 0.6965 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.4673, allocations: 404.3 kB / 0.6969 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/0.4674, allocations: 108.9 kB / 0.697 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.4674, allocations: 101 kB / 0.6971 GB, free: 8.145 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.339e-05/0.4675, allocations: 180.1 kB / 0.6973 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/0.4676, allocations: 184.2 kB / 0.6974 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.812e-05/0.4677, allocations: 180.2 kB / 0.6976 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001018/0.4678, allocations: 184.2 kB / 0.6978 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.468, allocations: 306.8 kB / 0.6981 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4681, allocations: 190 kB / 0.6983 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.642e-05/0.4682, allocations: 176.3 kB / 0.6984 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.673e-05/0.4683, allocations: 112.8 kB / 0.6985 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.4684, allocations: 180.3 kB / 0.6987 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.34e-05/0.4684, allocations: 101 kB / 0.6988 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.07e-05/0.4685, allocations: 80.33 kB / 0.6989 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.834e-06/0.4685, allocations: 4.094 kB / 0.6989 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002629/0.4688, allocations: 5.812 kB / 0.6989 GB, free: 6.211 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.0004875/0.4693, allocations: 0.8034 MB / 0.6997 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 3.999e-05/0.4693, allocations: 6.938 kB / 0.6997 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4693, allocations: 4 kB / 0.6997 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.4693, allocations: 3.938 kB / 0.6997 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.4697, allocations: 463 kB / 0.7001 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.4709, allocations: 1.515 MB / 0.7016 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.4712, allocations: 0.6729 MB / 0.7023 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.887e-06/0.4713, allocations: 4.094 kB / 0.7023 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.4713, allocations: 10.25 kB / 0.7023 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4713, allocations: 0 / 0.7023 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.4927, allocations: 0.9137 MB / 0.7032 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.378, allocations: 7.469 kB / 0.7032 GB, free: 2.098 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 11.969662507995963] Failed to read output from testmodel.py, exit status != 0: 8.442991822957993 8.457034412 7.99075676 Calling exit ...