Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.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.001535/0.001535, allocations: 106.6 kB / 17.07 MB, free: 5.965 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.001359/0.001359, 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.54/1.54, allocations: 222.9 MB / 245.7 MB, free: 4.199 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.158/1.158, allocations: 147.6 MB / 445.6 MB, free: 8.434 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.Sources.Validation.CivilTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 65.19 kB / 0.6109 GB, free: 37.85 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1551, allocations: 83.15 MB / 0.6921 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime): time 0.002191/0.1574, allocations: 0.5825 MB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 4.274e-05/0.1575, allocations: 0 / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.1575, allocations: 1.094 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1575, allocations: 0 / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.978e-05/0.1576, allocations: 0 / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 3.584e-05/0.1576, allocations: 1.219 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.859e-05/0.1577, allocations: 1.125 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.839e-05/0.1577, allocations: 5 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.1578, allocations: 0 / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 1.866e-05/0.1578, allocations: 0.9688 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1578, allocations: 4 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.17e-06/0.1578, allocations: 1.375 kB / 0.6927 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1578, allocations: 3.984 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.1579, allocations: 3.984 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 6.267e-05/0.1579, allocations: 0.875 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.097e-05/0.1579, allocations: 1.156 kB / 0.6927 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1579, allocations: 7.875 kB / 0.6927 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.158, allocations: 0 / 0.6927 GB, free: 12.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003501/0.1583, allocations: 307 kB / 0.693 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.1584, allocations: 12.88 kB / 0.693 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1584, allocations: 31.91 kB / 0.6931 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.1584, allocations: 8.922 kB / 0.6931 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.1586, allocations: 160.4 kB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1586, allocations: 1.688 kB / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.1586, allocations: 384 / 0.6932 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.1587, allocations: 28.86 kB / 0.6933 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1587, allocations: 3.938 kB / 0.6933 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-06/0.1587, allocations: 0 / 0.6933 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1587, allocations: 0 / 0.6933 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.781e-05/0.1587, allocations: 9.219 kB / 0.6933 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001642/0.1589, allocations: 150.8 kB / 0.6934 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.275e-05/0.159, allocations: 21.05 kB / 0.6934 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.159, allocations: 7.766 kB / 0.6934 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.159, allocations: 0 / 0.6934 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.159, allocations: 32.47 kB / 0.6935 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 7.01e-07/0.159, allocations: 4 kB / 0.6935 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.1592, allocations: 38.39 kB / 0.6935 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.1592, allocations: 55.41 kB / 0.6936 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.1593, allocations: 89.86 kB / 0.6936 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.1593, allocations: 25.7 kB / 0.6937 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.1594, allocations: 82.2 kB / 0.6938 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.1594, allocations: 3.984 kB / 0.6938 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1594, allocations: 15.88 kB / 0.6938 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1596, allocations: 315 kB / 0.6941 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-06/0.1596, allocations: 0 / 0.6941 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.1596, allocations: 2.094 kB / 0.6941 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.1596, allocations: 11.08 kB / 0.6941 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1597, allocations: 0 / 0.6941 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.208e-05/0.1597, allocations: 34.36 kB / 0.6941 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1597, allocations: 6.094 kB / 0.6941 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1597, allocations: 3.938 kB / 0.6941 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1598, allocations: 4.094 kB / 0.6941 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.531e-05/0.1598, allocations: 11.36 kB / 0.6941 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1598, allocations: 0 / 0.6941 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.948e-06/0.1598, allocations: 0 / 0.6941 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.1599, allocations: 0 / 0.6941 GB, free: 11.35 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 (1): * Single equations (assignments): 1 * 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 9.569e-05/0.16, allocations: 109.3 kB / 0.6942 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.631e-06/0.16, allocations: 0 / 0.6942 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/0.16, allocations: 8.25 kB / 0.6943 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.16, allocations: 0 / 0.6943 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.16, allocations: 4 kB / 0.6943 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.16, allocations: 1.125 kB / 0.6943 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.1602, allocations: 151 kB / 0.6944 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1602, allocations: 4 kB / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.134e-05/0.1602, allocations: 1.688 kB / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1602, allocations: 0 / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1602, allocations: 5.531 kB / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.1602, allocations: 0 / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1602, allocations: 0 / 0.6944 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.086e-05/0.1603, allocations: 71.52 kB / 0.6945 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1604, allocations: 77.11 kB / 0.6946 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.1604, allocations: 3.938 kB / 0.6946 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-06/0.1604, allocations: 1.656 kB / 0.6946 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.349e-05/0.1604, allocations: 0 / 0.6946 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-06/0.1604, allocations: 0 / 0.6946 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.413e-05/0.1605, allocations: 77.09 kB / 0.6946 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1605, allocations: 0 / 0.6946 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001992/0.1607, allocations: 0 / 0.6946 GB, free: 10.77 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 (1): * Single equations (assignments): 1 * 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.0004323/0.1611, allocations: 0.6021 MB / 0.6952 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.631e-05/0.1612, allocations: 3.844 kB / 0.6952 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1612, allocations: 0 / 0.6952 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-06/0.1612, allocations: 96 / 0.6952 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001345/0.1613, allocations: 12.88 kB / 0.6952 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.1617, allocations: 110.2 kB / 0.6953 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.162, allocations: 0.6699 MB / 0.696 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.162, allocations: 1.938 kB / 0.696 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.1621, allocations: 7.438 kB / 0.696 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of SimCode: time 2.334e-06/0.1621, allocations: 0 / 0.696 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.1844, allocations: 0.9012 MB / 0.6969 GB, free: 8.773 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.974/8.158, allocations: 13.55 kB / 0.6969 GB, free: 8.766 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_CivilTime.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CivilTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.202080955030397] Failed to read output from testmodel.py, exit status != 0: 8.481098778080195 8.25015312 8.089306404 Calling exit ...