Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.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.001568/0.001568, allocations: 106.7 kB / 17.07 MB, free: 6.016 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.001774/0.001774, allocations: 190.8 kB / 20.03 MB, free: 3.082 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.525/1.525, allocations: 222.9 MB / 245.7 MB, free: 4.223 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.112/1.112, allocations: 147.7 MB / 445.6 MB, free: 8.363 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.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.77 kB / 0.611 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.162, allocations: 83.15 MB / 0.6922 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002148/0.1642, allocations: 0.69 MB / 0.6928 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1654, allocations: 0.8008 MB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.1655, allocations: 1.125 kB / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.281e-05/0.1655, allocations: 0 / 0.6936 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.761e-05/0.1656, allocations: 8.938 kB / 0.6936 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 6.576e-05/0.1657, allocations: 21.02 kB / 0.6936 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.998e-05/0.1658, allocations: 44.72 kB / 0.6937 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1659, allocations: 12.66 kB / 0.6937 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.166, allocations: 18.02 kB / 0.6937 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.1661, allocations: 21.64 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.1661, allocations: 4.188 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.719e-06/0.1661, allocations: 2.719 kB / 0.6937 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.1661, allocations: 13.31 kB / 0.6938 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.1662, allocations: 19.73 kB / 0.6938 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1663, allocations: 39.56 kB / 0.6938 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1663, allocations: 7.938 kB / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1663, allocations: 0 / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1663, allocations: 0 / 0.6938 GB, free: 11.98 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.0005811/0.1669, allocations: 358.1 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.167, allocations: 9.594 kB / 0.6942 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.167, allocations: 34.75 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.167, allocations: 7.453 kB / 0.6942 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.1672, allocations: 178.9 kB / 0.6944 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1672, allocations: 5.531 kB / 0.6944 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.1672, allocations: 1.656 kB / 0.6944 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.1675, allocations: 68.44 kB / 0.6944 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1675, allocations: 3.938 kB / 0.6945 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1675, allocations: 0 / 0.6945 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1675, allocations: 1.812 kB / 0.6945 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00029/0.1678, allocations: 71.36 kB / 0.6945 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1682, allocations: 261.4 kB / 0.6948 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1684, allocations: 57.44 kB / 0.6948 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1686, allocations: 46.14 kB / 0.6949 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1686, allocations: 0 / 0.6949 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.1687, allocations: 35.75 kB / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1687, allocations: 0 / 0.6949 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005479/0.1692, allocations: 129.3 kB / 0.695 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1693, allocations: 52.66 kB / 0.6951 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.332e-05/0.1694, allocations: 111.6 kB / 0.6952 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1694, allocations: 29.64 kB / 0.6952 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.721e-05/0.1695, allocations: 91 kB / 0.6953 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1695, allocations: 9.5 kB / 0.6953 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1696, allocations: 15.5 kB / 0.6953 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1697, allocations: 316.6 kB / 0.6956 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1699, allocations: 28.38 kB / 0.6957 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.17, allocations: 33.92 kB / 0.6957 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.1703, allocations: 83.36 kB / 0.6958 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1703, allocations: 3.938 kB / 0.6958 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003242/0.1706, allocations: 98.14 kB / 0.6959 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.1707, allocations: 5.125 kB / 0.6959 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1707, allocations: 0 / 0.6959 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1707, allocations: 1.188 kB / 0.6959 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1708, allocations: 22.3 kB / 0.6959 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1708, allocations: 0 / 0.6959 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.1709, allocations: 14.84 kB / 0.6959 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1709, allocations: 1.375 kB / 0.6959 GB, free: 9.973 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 8.785e-05/0.171, allocations: 112.7 kB / 0.696 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.171, allocations: 2.75 kB / 0.696 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.1711, allocations: 11.84 kB / 0.696 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1711, allocations: 1.375 kB / 0.696 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1711, allocations: 4 kB / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1711, allocations: 1.375 kB / 0.696 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.1713, allocations: 172.5 kB / 0.6962 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1713, allocations: 0 / 0.6962 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.547e-05/0.1714, allocations: 18.98 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1714, allocations: 0 / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1714, allocations: 1.375 kB / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1714, allocations: 0 / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1714, allocations: 0 / 0.6962 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.1718, allocations: 204.6 kB / 0.6964 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.1719, allocations: 82.42 kB / 0.6965 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.1719, allocations: 0 / 0.6965 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.172, allocations: 10.86 kB / 0.6965 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.1721, allocations: 6.734 kB / 0.6965 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1721, allocations: 4 kB / 0.6965 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.592e-05/0.1722, allocations: 94.03 kB / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1722, allocations: 0 / 0.6966 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002168/0.1724, allocations: 6.875 kB / 0.6966 GB, free: 9.242 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.0007449/0.1731, allocations: 0.731 MB / 0.6973 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003363/0.1735, allocations: 66.42 kB / 0.6974 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1735, allocations: 3.938 kB / 0.6974 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001533/0.1737, allocations: 44.58 kB / 0.6974 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.174, allocations: 8.094 kB / 0.6974 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/0.1744, allocations: 151.9 kB / 0.6976 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.1747, allocations: 0.6834 MB / 0.6983 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.1748, allocations: 1.375 kB / 0.6983 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.1748, allocations: 16.81 kB / 0.6983 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.1748, allocations: 0 / 0.6983 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.1963, allocations: 1.604 MB / 0.6998 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.077, allocations: 15.03 kB / 0.6998 GB, free: 6.715 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.95414915913716] Failed to read output from testmodel.py, exit status != 0: 8.435272472910583 8.174983349 8.003724657 Calling exit ...