Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001366/0.001366, allocations: 104.7 kB / 17.07 MB, free: 5.969 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.001369/0.001368, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.557/1.557, allocations: 222.9 MB / 245.7 MB, free: 4.18 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.134/1.134, allocations: 147.6 MB / 445.5 MB, free: 8.328 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.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 69.22 kB / 0.6109 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1486, allocations: 83.16 MB / 0.6922 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.001749/0.1503, allocations: 0.6842 MB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009007/0.1513, allocations: 0.8004 MB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.8e-05/0.1513, allocations: 1.062 kB / 0.6936 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.1514, allocations: 3.938 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.169e-05/0.1514, allocations: 5.188 kB / 0.6936 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.169e-05/0.1515, allocations: 9.078 kB / 0.6936 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.1516, allocations: 48.72 kB / 0.6937 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.1517, allocations: 13.44 kB / 0.6937 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.164e-05/0.1517, allocations: 22.39 kB / 0.6937 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.1518, allocations: 15.86 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1518, allocations: 4.469 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.497e-06/0.1518, allocations: 3.406 kB / 0.6937 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.994e-05/0.1518, allocations: 13.03 kB / 0.6937 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.1519, allocations: 19.03 kB / 0.6938 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 8.706e-05/0.152, allocations: 39.95 kB / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.152, allocations: 0 / 0.6938 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.152, allocations: 9.281 kB / 0.6938 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.152, allocations: 0 / 0.6938 GB, free: 12.07 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.000524/0.1525, allocations: 362.3 kB / 0.6942 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1526, allocations: 10.28 kB / 0.6942 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.707e-05/0.1526, allocations: 34.75 kB / 0.6942 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.1526, allocations: 7.703 kB / 0.6942 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.1528, allocations: 171.2 kB / 0.6944 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1528, allocations: 4.375 kB / 0.6944 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.1528, allocations: 3.281 kB / 0.6944 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1531, allocations: 71.91 kB / 0.6944 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1531, allocations: 3.938 kB / 0.6944 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.1531, allocations: 0 / 0.6944 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1531, allocations: 0 / 0.6944 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/0.1534, allocations: 67.52 kB / 0.6945 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.1538, allocations: 271.1 kB / 0.6948 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000209/0.154, allocations: 56.83 kB / 0.6948 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1542, allocations: 46.5 kB / 0.6949 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.1542, allocations: 0 / 0.6949 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1542, allocations: 34.56 kB / 0.6949 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1542, allocations: 1.406 kB / 0.6949 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005417/0.1548, allocations: 130 kB / 0.695 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.1548, allocations: 59.34 kB / 0.6951 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.1549, allocations: 111 kB / 0.6952 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1549, allocations: 27.61 kB / 0.6952 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.155, allocations: 93.84 kB / 0.6953 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.155, allocations: 3.953 kB / 0.6953 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.155, allocations: 17.3 kB / 0.6953 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.1552, allocations: 316.7 kB / 0.6956 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1553, allocations: 32.03 kB / 0.6957 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.1555, allocations: 33.92 kB / 0.6957 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.1558, allocations: 70.44 kB / 0.6958 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1558, allocations: 6.125 kB / 0.6958 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003209/0.1561, allocations: 95.75 kB / 0.6959 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1561, allocations: 5.5 kB / 0.6959 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.1561, allocations: 320 / 0.6959 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1561, allocations: 1.375 kB / 0.6959 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1563, allocations: 17.55 kB / 0.6959 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1563, allocations: 1.375 kB / 0.6959 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.651e-05/0.1564, allocations: 14.86 kB / 0.6959 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1564, allocations: 11.95 kB / 0.6959 GB, free: 10.05 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 7.849e-05/0.1565, allocations: 116.5 kB / 0.696 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.1565, allocations: 1.375 kB / 0.696 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.257e-05/0.1565, allocations: 9.219 kB / 0.696 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1566, allocations: 1.375 kB / 0.696 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1566, allocations: 0 / 0.696 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1566, allocations: 0 / 0.696 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1568, allocations: 173.8 kB / 0.6962 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1568, allocations: 3.984 kB / 0.6962 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.1569, allocations: 14.98 kB / 0.6962 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1569, allocations: 0 / 0.6962 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1569, allocations: 0 / 0.6962 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1569, allocations: 1.375 kB / 0.6962 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1569, allocations: 0 / 0.6962 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.1573, allocations: 204.6 kB / 0.6964 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.1573, allocations: 82.47 kB / 0.6965 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.1574, allocations: 0 / 0.6965 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.1575, allocations: 10.86 kB / 0.6965 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1575, allocations: 9.312 kB / 0.6965 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1575, allocations: 1.375 kB / 0.6965 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.067e-05/0.1576, allocations: 94.14 kB / 0.6966 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1576, allocations: 0 / 0.6966 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002164/0.1578, allocations: 5.5 kB / 0.6966 GB, free: 9.324 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.0006989/0.1585, allocations: 0.731 MB / 0.6973 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.1589, allocations: 70.36 kB / 0.6974 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1589, allocations: 0 / 0.6974 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.159, allocations: 32.59 kB / 0.6974 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1594, allocations: 16.11 kB / 0.6974 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.1598, allocations: 147.9 kB / 0.6976 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.1601, allocations: 0.6835 MB / 0.6982 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.894e-05/0.1601, allocations: 1.375 kB / 0.6982 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.1602, allocations: 16.81 kB / 0.6983 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of SimCode: time 3.81e-07/0.1602, allocations: 4 kB / 0.6983 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.1829, allocations: 1.621 MB / 0.6998 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.978/8.161, allocations: 6.438 kB / 0.6998 GB, free: 6.742 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Add.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.093843220034614] Failed to read output from testmodel.py, exit status != 0: 8.478578015929088 8.252115771 8.097273193 Calling exit ...