Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001669/0.001669, allocations: 112.9 kB / 17.08 MB, free: 5.977 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.001895/0.001895, allocations: 190.8 kB / 20.03 MB, free: 3.047 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.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.053/1.053, allocations: 147.6 MB / 445.6 MB, free: 8.277 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.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.2385/0.2385, allocations: 65.69 kB / 0.6109 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.368, allocations: 83.15 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001634/0.3696, allocations: 0.5218 MB / 0.6926 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 3.602e-05/0.3697, allocations: 9.156 kB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.3697, allocations: 0 / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.235e-05/0.3698, allocations: 0 / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.787e-05/0.3698, allocations: 0 / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 2.964e-05/0.3698, allocations: 1.25 kB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.904e-05/0.3699, allocations: 1.062 kB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.3699, allocations: 5.125 kB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.37, allocations: 5.188 kB / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.506e-05/0.37, allocations: 0 / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.37, allocations: 0 / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.627e-06/0.37, allocations: 5.125 kB / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.37, allocations: 3.984 kB / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.37, allocations: 1.125 kB / 0.6926 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.652e-05/0.3701, allocations: 9.266 kB / 0.6927 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3701, allocations: 0 / 0.6927 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3701, allocations: 0 / 0.6927 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3701, allocations: 0 / 0.6927 GB, free: 13.03 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.0003105/0.3704, allocations: 318.6 kB / 0.693 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3705, allocations: 14 kB / 0.693 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.242e-05/0.3705, allocations: 30.75 kB / 0.693 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.731e-05/0.3706, allocations: 2.031 kB / 0.693 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3707, allocations: 160.4 kB / 0.6932 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.3707, allocations: 1.5 kB / 0.6932 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.3707, allocations: 5.516 kB / 0.6932 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.022e-05/0.3708, allocations: 27.42 kB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3708, allocations: 7.938 kB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3708, allocations: 1.062 kB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.3708, allocations: 0 / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.3709, allocations: 1.125 kB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003269/0.3712, allocations: 382.9 kB / 0.6936 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.255e-05/0.3713, allocations: 170.1 kB / 0.6937 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.854e-05/0.3713, allocations: 85.27 kB / 0.6938 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3714, allocations: 79.28 kB / 0.6939 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.3714, allocations: 111 kB / 0.694 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3714, allocations: 0 / 0.694 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.561e-05/0.3715, allocations: 30.8 kB / 0.694 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.599e-05/0.3716, allocations: 126.7 kB / 0.6941 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.3717, allocations: 97.67 kB / 0.6942 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3717, allocations: 25.7 kB / 0.6943 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.721e-05/0.3717, allocations: 86.8 kB / 0.6943 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.3717, allocations: 0 / 0.6943 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.274e-05/0.3718, allocations: 9.719 kB / 0.6943 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3719, allocations: 314.8 kB / 0.6946 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-06/0.3719, allocations: 6.5 kB / 0.6947 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.645e-06/0.3719, allocations: 0 / 0.6947 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/0.372, allocations: 83.41 kB / 0.6947 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/0.372, allocations: 79.22 kB / 0.6948 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.223e-05/0.3721, allocations: 33.58 kB / 0.6948 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.757e-05/0.3721, allocations: 79.53 kB / 0.6949 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.3721, allocations: 75.31 kB / 0.695 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.071e-05/0.3722, allocations: 162.2 kB / 0.6951 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.273e-05/0.3722, allocations: 79.28 kB / 0.6952 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.813e-05/0.3723, allocations: 158.5 kB / 0.6954 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.144e-05/0.3724, allocations: 83.2 kB / 0.6955 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.3724, allocations: 78.41 kB / 0.6955 GB, free: 9.891 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.0001197/0.3726, allocations: 260.3 kB / 0.6958 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.3726, allocations: 112.4 kB / 0.6959 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.3727, allocations: 112.1 kB / 0.696 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-05/0.3728, allocations: 180.2 kB / 0.6962 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-05/0.3729, allocations: 180.2 kB / 0.6963 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.901e-05/0.3729, allocations: 179.3 kB / 0.6965 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000249/0.3732, allocations: 409.1 kB / 0.6969 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-05/0.3732, allocations: 101.6 kB / 0.697 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.3733, allocations: 107.6 kB / 0.6971 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.407e-05/0.3734, allocations: 180.2 kB / 0.6973 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.3734, allocations: 179 kB / 0.6974 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.011e-05/0.3735, allocations: 180.2 kB / 0.6976 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.369e-05/0.3736, allocations: 184.2 kB / 0.6978 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3738, allocations: 314.2 kB / 0.6981 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.3738, allocations: 178.1 kB / 0.6983 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.152e-05/0.3739, allocations: 184.2 kB / 0.6984 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.374, allocations: 111.3 kB / 0.6985 GB, free: 6.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.323e-05/0.3741, allocations: 180.3 kB / 0.6987 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/0.3742, allocations: 106.9 kB / 0.6988 GB, free: 6.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.075e-05/0.3742, allocations: 79.06 kB / 0.6989 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3742, allocations: 0 / 0.6989 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002492/0.3745, allocations: 0 / 0.6989 GB, free: 6.254 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.0004397/0.3749, allocations: 0.8083 MB / 0.6997 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.004e-05/0.375, allocations: 3.938 kB / 0.6997 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.375, allocations: 3.938 kB / 0.6997 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.375, allocations: 0 / 0.6997 GB, free: 5.426 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3754, allocations: 458.6 kB / 0.7001 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3764, allocations: 1.523 MB / 0.7016 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3767, allocations: 0.6729 MB / 0.7023 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.813e-06/0.3767, allocations: 3.188 kB / 0.7023 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.3767, allocations: 7.438 kB / 0.7023 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.3767, allocations: 0 / 0.7023 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3972, allocations: 0.9137 MB / 0.7032 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.047/8.444, allocations: 4.969 kB / 0.7032 GB, free: 2.141 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.904845631914213] Failed to read output from testmodel.py, exit status != 0: 8.516051793005317 8.540226838 8.165334445 Calling exit ...