Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.Files.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 120.1 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002806/0.002806, allocations: 203.9 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.583/1.583, allocations: 230.6 MB / 254.2 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.001/1.001, allocations: 150 MB / 460.2 MB, free: 5.254 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.Files.WeeklySchedule,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_Files_WeeklySchedule",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.72 kB / 0.6368 GB, free: 30.46 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1599, allocations: 89.13 MB / 0.7238 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.002656/0.1626, allocations: 1.354 MB / 0.7252 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.1627, allocations: 47.81 kB / 0.7252 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.1628, allocations: 0 / 0.7252 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1629, allocations: 7.938 kB / 0.7252 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.1631, allocations: 15.92 kB / 0.7252 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.436e-06/0.1631, allocations: 4 kB / 0.7252 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.506e-05/0.1631, allocations: 11.92 kB / 0.7252 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.1632, allocations: 7.984 kB / 0.7252 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.295e-05/0.1632, allocations: 11.88 kB / 0.7253 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.899e-05/0.1632, allocations: 11.88 kB / 0.7253 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.1633, allocations: 4 kB / 0.7253 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.674e-05/0.1633, allocations: 11.98 kB / 0.7253 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.977e-05/0.1633, allocations: 8 kB / 0.7253 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.1634, allocations: 3.938 kB / 0.7253 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.1635, allocations: 32.12 kB / 0.7253 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1635, allocations: 0 / 0.7253 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1635, allocations: 4 kB / 0.7253 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1635, allocations: 0 / 0.7253 GB, free: 2.473 MB / 0.5294 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.0003913/0.1639, allocations: 335.3 kB / 0.7256 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1639, allocations: 8.031 kB / 0.7257 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.67e-05/0.1639, allocations: 192 / 0.7257 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.435e-05/0.164, allocations: 38.7 kB / 0.7257 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.164, allocations: 0.9375 kB / 0.7257 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.1642, allocations: 176.3 kB / 0.7259 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.1642, allocations: 8.375 kB / 0.7259 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1642, allocations: 4.359 kB / 0.7259 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.962e-05/0.1643, allocations: 53.88 kB / 0.7259 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1643, allocations: 0 / 0.7259 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.1643, allocations: 0 / 0.7259 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.1644, allocations: 3.984 kB / 0.7259 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/0.1644, allocations: 4 kB / 0.7259 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.1647, allocations: 237 kB / 0.7262 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.877e-05/0.1648, allocations: 46.44 kB / 0.7262 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.093e-05/0.1648, allocations: 16.86 kB / 0.7262 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1648, allocations: 0 / 0.7262 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.1649, allocations: 30.56 kB / 0.7262 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1649, allocations: 0 / 0.7262 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0004876/0.1654, allocations: 199.5 kB / 0.7264 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.1654, allocations: 55.41 kB / 0.7265 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.1655, allocations: 113.8 kB / 0.7266 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.1655, allocations: 29.7 kB / 0.7266 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.1656, allocations: 88.12 kB / 0.7267 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.1656, allocations: 11.91 kB / 0.7267 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1656, allocations: 17.72 kB / 0.7267 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1658, allocations: 322.8 kB / 0.727 GB, free: 468 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.1658, allocations: 8 kB / 0.7271 GB, free: 460 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.1659, allocations: 37.58 kB / 0.7271 GB, free: 416 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.324e-05/0.1659, allocations: 37.7 kB / 0.7271 GB, free: 372 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1659, allocations: 192 / 0.7271 GB, free: 372 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001192/0.1661, allocations: 73.56 kB / 0.7272 GB, free: 292 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1661, allocations: 6.031 kB / 0.7272 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1661, allocations: 4 kB / 0.7272 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1661, allocations: 0 / 0.7272 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.1662, allocations: 8.328 kB / 0.7272 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1662, allocations: 4.031 kB / 0.7272 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.1662, allocations: 8 kB / 0.7272 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.1662, allocations: 0 / 0.7272 GB, free: 264 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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.816e-05/0.1663, allocations: 117.8 kB / 0.7273 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1663, allocations: 4 kB / 0.7273 GB, free: 132 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.1665, allocations: 77.56 kB / 0.7274 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1665, allocations: 3.938 kB / 0.7274 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1665, allocations: 0 / 0.7274 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1665, allocations: 4 kB / 0.7274 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.1669, allocations: 330.4 kB / 0.7277 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1669, allocations: 0 / 0.7277 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.1669, allocations: 11.98 kB / 0.7277 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1669, allocations: 0 / 0.7277 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.1669, allocations: 4 kB / 0.7278 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1669, allocations: 0 / 0.7278 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.167, allocations: 3.938 kB / 0.7278 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1671, allocations: 159.5 kB / 0.7279 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.1672, allocations: 85.09 kB / 0.728 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.1672, allocations: 0 / 0.728 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.467e-05/0.1672, allocations: 192 / 0.728 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.1672, allocations: 11.88 kB / 0.728 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1673, allocations: 4 kB / 0.728 GB, free: 15.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.1673, allocations: 91.27 kB / 0.7281 GB, free: 15.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1673, allocations: 0 / 0.7281 GB, free: 15.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002425/0.1676, allocations: 15.94 kB / 0.7281 GB, free: 15.24 MB / 0.545 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 (5): * Single equations (assignments): 5 * 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.0006545/0.1682, allocations: 0.7257 MB / 0.7288 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.1683, allocations: 31.92 kB / 0.7288 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1683, allocations: 4.062 kB / 0.7289 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.1684, allocations: 15.98 kB / 0.7289 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1686, allocations: 7.938 kB / 0.7289 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1698, allocations: 1.305 MB / 0.7301 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.1702, allocations: 0.6807 MB / 0.7308 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.552e-05/0.1703, allocations: 19.97 kB / 0.7308 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1703, allocations: 19.44 kB / 0.7308 GB, free: 12.3 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.1703, allocations: 0 / 0.7308 GB, free: 12.3 MB / 0.545 GB Error: Template error: A template call failed (/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so: (null)). One possible reason could be that a template imported function call failed (which should not happen for functions called from within template code; templates assert pure 'match'/non-failing semantics). " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.98384875402553] Failed to read output from testmodel.py, exit status != 0: 0.18911562900757417 0.20462848600000003 0.038177314000000004 Calling exit ...