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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8996/0.8996, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009296/0.0009296, allocations: 184.1 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 98.28 kB / 0.4945 GB, free: 8.391 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001646/0.001646, allocations: 263.3 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004549, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3534, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.4916, allocations: 107.8 MB / 0.8448 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.4919, allocations: 83.94 kB / 0.8448 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.007172/0.4991, allocations: 2.737 MB / 0.8475 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4991, allocations: 0 / 0.8475 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4991, allocations: 0 / 0.8475 GB, free: 15.57 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003975/0.4995, allocations: 351.4 kB / 0.8478 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.4996, allocations: 8.031 kB / 0.8478 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.4996, allocations: 8.875 kB / 0.8479 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4998, allocations: 172.3 kB / 0.848 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.4998, allocations: 4.375 kB / 0.848 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.4998, allocations: 384 / 0.848 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.4999, allocations: 68.81 kB / 0.8481 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.5, allocations: 4.188 kB / 0.8481 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.5, allocations: 3.938 kB / 0.8481 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.463e-06/0.5, allocations: 3.984 kB / 0.8481 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.19e-05/0.5001, allocations: 15.94 kB / 0.8481 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.5004, allocations: 260.9 kB / 0.8484 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.524e-05/0.5005, allocations: 42.5 kB / 0.8484 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.286e-05/0.5006, allocations: 16.86 kB / 0.8484 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.244e-06/0.5006, allocations: 0 / 0.8484 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001797/0.5008, allocations: 67.42 kB / 0.8485 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.5008, allocations: 0 / 0.8485 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002152/0.501, allocations: 69.67 kB / 0.8486 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.5011, allocations: 102.8 kB / 0.8487 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.5012, allocations: 105.8 kB / 0.8488 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.5012, allocations: 37.7 kB / 0.8488 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.5013, allocations: 80.14 kB / 0.8489 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.5013, allocations: 11.75 kB / 0.8489 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.5013, allocations: 4 kB / 0.8489 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.5014, allocations: 318.8 kB / 0.8492 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.799e-05/0.5014, allocations: 8 kB / 0.8492 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.5015, allocations: 38.75 kB / 0.8492 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.028e-05/0.5015, allocations: 32.83 kB / 0.8493 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5015, allocations: 3.938 kB / 0.8493 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001023/0.5017, allocations: 61.69 kB / 0.8493 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.5017, allocations: 5.25 kB / 0.8493 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5017, allocations: 0 / 0.8493 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.5017, allocations: 0 / 0.8493 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.356e-05/0.5018, allocations: 8 kB / 0.8493 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5018, allocations: 7.969 kB / 0.8493 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.5019, allocations: 8 kB / 0.8493 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.5019, allocations: 4 kB / 0.8494 GB, free: 13.42 MB / 0.5261 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.654e-05/0.502, allocations: 129.6 kB / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.5021, allocations: 4 kB / 0.8495 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.5021, allocations: 3.5 kB / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.5021, allocations: 0 / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5021, allocations: 0 / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.5021, allocations: 0 / 0.8495 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.5022, allocations: 177.5 kB / 0.8497 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5022, allocations: 3.984 kB / 0.8497 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.333e-05/0.5023, allocations: 8 kB / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.5023, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.5023, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5023, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5023, allocations: 0 / 0.8497 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.5025, allocations: 93.05 kB / 0.8498 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.5025, allocations: 89.05 kB / 0.8498 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.5025, allocations: 3.984 kB / 0.8498 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.5026, allocations: 12.19 kB / 0.8499 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.5027, allocations: 3.984 kB / 0.8499 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.5027, allocations: 8.234 kB / 0.8499 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.087e-05/0.5027, allocations: 83.28 kB / 0.8499 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5028, allocations: 0 / 0.8499 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001885/0.5029, allocations: 11.98 kB / 0.85 GB, free: 12.7 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001247/0.5031, allocations: 111.2 kB / 0.8501 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.5032, allocations: 31.98 kB / 0.8501 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5032, allocations: 0 / 0.8501 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.415e-05/0.5033, allocations: 15.94 kB / 0.8501 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.5034, allocations: 7.938 kB / 0.8501 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.5037, allocations: 124.8 kB / 0.8502 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.504, allocations: 0.6809 MB / 0.8509 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.957e-05/0.504, allocations: 15.98 kB / 0.8509 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/0.504, allocations: 11.44 kB / 0.8509 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of SimCode: time 3.01e-07/0.504, allocations: 3.938 kB / 0.8509 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.002715/0.5068, allocations: 0.803 MB / 0.8517 GB, free: 10.86 MB / 0.5261 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)