Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.0007339/0.0007339, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007575/0.0007575, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8339/0.8339, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001396/0.001396, allocations: 235 kB / 260.2 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.661/0.661, allocations: 138.4 MB / 455.1 MB, free: 29.91 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.6475 GB, free: 1.332 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.877e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.328 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.2296/0.2296, allocations: 1.476 MB / 0.649 GB, free: 56.45 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000393/0.23, allocations: 187.9 kB / 0.6492 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.2301, allocations: 0.875 kB / 0.6492 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.2301, allocations: 4.547 kB / 0.6492 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.2304, allocations: 20.81 kB / 0.6492 GB, free: 56.43 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001709/0.2305, allocations: 64.89 kB / 0.6492 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.2306, allocations: 53.78 kB / 0.6493 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.2307, allocations: 7.047 kB / 0.6493 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.2308, allocations: 34.16 kB / 0.6493 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 7.1e-05/0.2309, allocations: 14.91 kB / 0.6493 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.2309, allocations: 5.719 kB / 0.6494 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.2309, allocations: 4.281 kB / 0.6494 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.2309, allocations: 16.19 kB / 0.6494 GB, free: 56.42 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.191e-05/0.231, allocations: 19.66 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2311, allocations: 54.41 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2311, allocations: 1.375 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2311, allocations: 0.5312 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2311, allocations: 0.75 kB / 0.6494 GB, free: 56.41 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004122/0.2315, allocations: 271.4 kB / 0.6497 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2315, allocations: 10.91 kB / 0.6497 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.2316, allocations: 6.5 kB / 0.6497 GB, free: 56.15 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.831e-05/0.2317, allocations: 113.5 kB / 0.6498 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2317, allocations: 2.094 kB / 0.6498 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2317, allocations: 9.859 kB / 0.6498 GB, free: 56.02 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.2318, allocations: 126.4 kB / 0.65 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2318, allocations: 192 / 0.65 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.2318, allocations: 1.75 kB / 0.65 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2318, allocations: 1.953 kB / 0.65 GB, free: 55.9 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.2319, allocations: 19.8 kB / 0.65 GB, free: 55.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.2322, allocations: 216.8 kB / 0.6502 GB, free: 55.69 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.2322, allocations: 36.92 kB / 0.6502 GB, free: 55.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.857e-05/0.2323, allocations: 15.25 kB / 0.6502 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.2323, allocations: 3.375 kB / 0.6502 GB, free: 55.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.2324, allocations: 68.61 kB / 0.6503 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.2324, allocations: 0 / 0.6503 GB, free: 55.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4): time 0.0001788/0.2326, allocations: 88.17 kB / 0.6504 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.2326, allocations: 105.6 kB / 0.6505 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.762e-05/0.2327, allocations: 104.4 kB / 0.6506 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.2327, allocations: 29.45 kB / 0.6506 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.2327, allocations: 84.12 kB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.2327, allocations: 9.969 kB / 0.6507 GB, free: 55.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.2328, allocations: 22.45 kB / 0.6507 GB, free: 55.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.091e-05/0.2328, allocations: 317.9 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.2328, allocations: 10.45 kB / 0.651 GB, free: 54.9 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.092e-05/0.2329, allocations: 86.58 kB / 0.6511 GB, free: 54.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.032e-05/0.2329, allocations: 29.17 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2329, allocations: 1.156 kB / 0.6512 GB, free: 54.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.512e-05/0.233, allocations: 64.72 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.233, allocations: 6.719 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.233, allocations: 1.125 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.233, allocations: 2.219 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.2331, allocations: 7.375 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.2331, allocations: 0.7031 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.183e-05/0.2331, allocations: 11.05 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.2331, allocations: 3.328 kB / 0.6512 GB, free: 54.76 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * 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 4.779e-05/0.2332, allocations: 117.3 kB / 0.6514 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.2332, allocations: 6.547 kB / 0.6514 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.746e-05/0.2332, allocations: 10.27 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.2332, allocations: 3.5 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2332, allocations: 1.719 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2332, allocations: 0.9062 kB / 0.6514 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.42e-05/0.2333, allocations: 115.5 kB / 0.6515 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2333, allocations: 0.75 kB / 0.6515 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.2333, allocations: 3.625 kB / 0.6515 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.2333, allocations: 0 / 0.6515 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.2333, allocations: 8.141 kB / 0.6515 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2333, allocations: 4.828 kB / 0.6515 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2333, allocations: 0 / 0.6515 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.129e-05/0.2334, allocations: 87.83 kB / 0.6516 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.2334, allocations: 9.75 kB / 0.6516 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.2334, allocations: 9.219 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.027e-05/0.2335, allocations: 9.062 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.2335, allocations: 11.3 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.2335, allocations: 5.25 kB / 0.6516 GB, free: 54.43 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 2.189e-05/0.2335, allocations: 86.61 kB / 0.6517 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2335, allocations: 0 / 0.6517 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001261/0.2337, allocations: 17.84 kB / 0.6517 GB, free: 54.35 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.04e-05/0.2338, allocations: 96.97 kB / 0.6518 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.256e-05/0.2338, allocations: 31.06 kB / 0.6519 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2338, allocations: 0 / 0.6519 GB, free: 54.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.711e-05/0.2339, allocations: 17.61 kB / 0.6519 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001084/0.234, allocations: 4.531 kB / 0.6519 GB, free: 54.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.2342, allocations: 150 kB / 0.652 GB, free: 54.12 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.341e-05/0.2342, allocations: 66.05 kB / 0.6521 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.2343, allocations: 14.19 kB / 0.6521 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of SimCode: time 4.91e-07/0.2343, allocations: 0.875 kB / 0.6521 GB, free: 54.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.001796/0.2361, allocations: 0.8392 MB / 0.6529 GB, free: 54.04 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.168092001229525] Failed to read output from testmodel.py, exit status != 0: 0.24139987584203482 0.248988391 0.016250009 Calling exit ...