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.001329/0.001329, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001537/0.001537, allocations: 211.8 kB / 23.78 MB, free: 4.555 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.82 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 0.9787/0.9787, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.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.002086/0.002086, allocations: 63.75 kB / 0.6419 GB, free: 9.984 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1779, allocations: 89.17 MB / 0.729 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.WeeklySchedule): time 0.00304/0.1809, allocations: 1.355 MB / 0.7304 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.1811, allocations: 35.83 kB / 0.7304 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.1811, allocations: 0 / 0.7304 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.1813, allocations: 15.92 kB / 0.7304 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1814, allocations: 11.92 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.978e-06/0.1814, allocations: 4 kB / 0.7304 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.103e-05/0.1815, allocations: 19.86 kB / 0.7304 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.13e-05/0.1815, allocations: 4 kB / 0.7304 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.1816, allocations: 4 kB / 0.7304 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.1816, allocations: 11.86 kB / 0.7305 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1816, allocations: 4 kB / 0.7305 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.177e-05/0.1817, allocations: 12 kB / 0.7305 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/0.1817, allocations: 7.984 kB / 0.7305 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.1817, allocations: 3.938 kB / 0.7305 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1819, allocations: 32.08 kB / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1819, allocations: 0 / 0.7305 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1819, allocations: 4 kB / 0.7305 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.1819, allocations: 0 / 0.7305 GB, free: 15.34 MB / 0.5606 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.000365/0.1822, allocations: 258.3 kB / 0.7308 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.1823, allocations: 12.03 kB / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.092e-05/0.1823, allocations: 192 / 0.7308 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.1824, allocations: 46.56 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.1824, allocations: 4.938 kB / 0.7308 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.1826, allocations: 114.5 kB / 0.7309 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1826, allocations: 8.359 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.1826, allocations: 4.375 kB / 0.7309 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001109/0.1827, allocations: 41.95 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1827, allocations: 3.984 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.1827, allocations: 0 / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.1828, allocations: 4 kB / 0.731 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.982e-05/0.1828, allocations: 8 kB / 0.731 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002639/0.1831, allocations: 204 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.1832, allocations: 42.48 kB / 0.7312 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.1832, allocations: 20.94 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.1832, allocations: 0 / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.1832, allocations: 30.56 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1832, allocations: 4 kB / 0.7313 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0004764/0.1837, allocations: 195.5 kB / 0.7315 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.1838, allocations: 55.41 kB / 0.7315 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.87e-05/0.1839, allocations: 109.8 kB / 0.7316 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1839, allocations: 29.7 kB / 0.7317 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.1839, allocations: 84.14 kB / 0.7317 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.059e-05/0.184, allocations: 27.81 kB / 0.7318 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.184, allocations: 13.72 kB / 0.7318 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1841, allocations: 322.8 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.1842, allocations: 8 kB / 0.7321 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.866e-05/0.1842, allocations: 29.7 kB / 0.7321 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.813e-05/0.1843, allocations: 45.91 kB / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1843, allocations: 0 / 0.7322 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001175/0.1844, allocations: 69.58 kB / 0.7322 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1844, allocations: 4 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.1844, allocations: 7.984 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1844, allocations: 3.938 kB / 0.7322 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.815e-05/0.1845, allocations: 11.94 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1845, allocations: 0 / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.456e-05/0.1845, allocations: 4.219 kB / 0.7323 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1845, allocations: 4 kB / 0.7323 GB, free: 13.32 MB / 0.5606 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.644e-05/0.1846, allocations: 123.7 kB / 0.7324 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.1847, allocations: 7.984 kB / 0.7324 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.1848, allocations: 77.67 kB / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1848, allocations: 0 / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1848, allocations: 0 / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1848, allocations: 0 / 0.7325 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.1852, allocations: 289.5 kB / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1852, allocations: 0 / 0.7327 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.1852, allocations: 15.98 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1852, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.1852, allocations: 4 kB / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1852, allocations: 0 / 0.7328 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1853, allocations: 3.938 kB / 0.7328 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001446/0.1854, allocations: 155.5 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.1854, allocations: 11.94 kB / 0.7329 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.1854, allocations: 4 kB / 0.7329 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.383e-05/0.1855, allocations: 0 / 0.7329 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.1855, allocations: 7.938 kB / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1855, allocations: 3.938 kB / 0.7329 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.507e-05/0.1856, allocations: 95.27 kB / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1856, allocations: 0 / 0.733 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002383/0.1858, allocations: 15.94 kB / 0.733 GB, free: 12.44 MB / 0.5606 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.0006141/0.1864, allocations: 0.7288 MB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001044/0.1865, allocations: 31.92 kB / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1865, allocations: 0 / 0.7338 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.029e-05/0.1865, allocations: 20.05 kB / 0.7338 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1868, allocations: 14.28 kB / 0.7338 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.188, allocations: 1.287 MB / 0.7351 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.297e-05/0.1881, allocations: 79.27 kB / 0.7352 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001004/0.1882, allocations: 19.97 kB / 0.7352 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.1882, allocations: 11.42 kB / 0.7352 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1882, allocations: 0 / 0.7352 GB, free: 10.12 MB / 0.5606 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.7675312199862674] Failed to read output from testmodel.py, exit status != 0: 0.21177944808732718 0.227617651 0.04263349 Calling exit ...