Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 106.5 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 189.2 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003202/0.003202, allocations: 293.8 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.3 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002856/0.002856, allocations: 99.84 kB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4726, allocations: 86.97 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00275/0.4753, allocations: 1.457 MB / 0.7686 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004938/0.4758, allocations: 201.2 kB / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.4759, allocations: 0 / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.4759, allocations: 0 / 0.7687 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.4761, allocations: 27.84 kB / 0.7688 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4763, allocations: 51.86 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.4765, allocations: 59.84 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.4766, allocations: 3.984 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.532e-05/0.4766, allocations: 27.92 kB / 0.7689 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.4767, allocations: 27.84 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.4767, allocations: 8 kB / 0.7689 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.4768, allocations: 4 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.873e-05/0.4768, allocations: 11.98 kB / 0.769 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.4768, allocations: 19.92 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.477, allocations: 46.97 kB / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.477, allocations: 0 / 0.769 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.663e-06/0.477, allocations: 3.938 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.477, allocations: 0 / 0.769 GB, free: 1.91 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006258/0.4776, allocations: 351 kB / 0.7694 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4776, allocations: 16.03 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.4777, allocations: 8.828 kB / 0.7694 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.4779, allocations: 168.4 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.4779, allocations: 384 / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.4779, allocations: 8.375 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.4781, allocations: 68.81 kB / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.4781, allocations: 192 / 0.7696 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4781, allocations: 7.938 kB / 0.7696 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.4781, allocations: 7.984 kB / 0.7696 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.317e-05/0.4782, allocations: 15.94 kB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.4786, allocations: 284.8 kB / 0.7699 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.885e-05/0.4787, allocations: 38.56 kB / 0.77 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.554e-05/0.4788, allocations: 12.86 kB / 0.77 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.4788, allocations: 4 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.4789, allocations: 63.42 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.4789, allocations: 0 / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002174/0.4792, allocations: 73.67 kB / 0.7701 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.4792, allocations: 102.8 kB / 0.7702 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.384e-05/0.4793, allocations: 109.8 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4794, allocations: 25.7 kB / 0.7703 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.4794, allocations: 88.09 kB / 0.7704 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.4794, allocations: 11.95 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.4795, allocations: 25.7 kB / 0.7705 GB, free: 224 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4797, allocations: 318.7 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.4797, allocations: 11.98 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.4797, allocations: 30.95 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.704e-05/0.4798, allocations: 32.84 kB / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4798, allocations: 0 / 0.7708 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001115/0.4799, allocations: 57.72 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.4799, allocations: 14.81 kB / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4799, allocations: 0 / 0.7709 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.48, allocations: 7.875 kB / 0.7709 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.48, allocations: 7.938 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.48, allocations: 0 / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.4801, allocations: 15.94 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4802, allocations: 0 / 0.7709 GB, free: 15.71 MB / 0.545 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 0.0001026/0.4803, allocations: 120.2 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.4803, allocations: 4 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.4803, allocations: 11.48 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4803, allocations: 0 / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4803, allocations: 0 / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4803, allocations: 0 / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.4805, allocations: 169.6 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4805, allocations: 0 / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.4805, allocations: 4 kB / 0.7712 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.4805, allocations: 3.984 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.4805, allocations: 0 / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4805, allocations: 0 / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4805, allocations: 8 kB / 0.7712 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.4806, allocations: 92.95 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.4807, allocations: 89.09 kB / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.4807, allocations: 0 / 0.7714 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.4809, allocations: 12.05 kB / 0.7714 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.4809, allocations: 8.219 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4809, allocations: 0 / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.81e-05/0.481, allocations: 91.28 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.481, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002023/0.4812, allocations: 15.94 kB / 0.7715 GB, free: 15 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: 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 0.0001378/0.4813, allocations: 107.2 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.4815, allocations: 35.92 kB / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4815, allocations: 0 / 0.7717 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.073e-05/0.4815, allocations: 12 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.4817, allocations: 4.75 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003546/0.482, allocations: 125.5 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.4823, allocations: 0.6768 MB / 0.7725 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.4824, allocations: 8 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.4824, allocations: 7.438 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.4824, allocations: 3.938 kB / 0.7725 GB, free: 13.95 MB / 0.545 GB Notification: Performance of Templates: time 0.003486/0.4859, allocations: 0.8924 MB / 0.7734 GB, free: 13.11 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)