Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008557/0.0008558, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0009071/0.0009072, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8489/0.8489, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003064, allocations: 9.719 kB / 0.5068 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 82.31 MB / 0.5872 GB, free: 3.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001345/0.1397, allocations: 1.146 MB / 0.5883 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000322/0.14, allocations: 155.6 kB / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.14, allocations: 0 / 0.5885 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.395e-05/0.1401, allocations: 7.938 kB / 0.5885 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.1402, allocations: 19.97 kB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.1404, allocations: 43.88 kB / 0.5885 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.829e-05/0.1405, allocations: 31.95 kB / 0.5886 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.1405, allocations: 3.984 kB / 0.5886 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.278e-05/0.1406, allocations: 19.94 kB / 0.5886 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.35e-05/0.1407, allocations: 23.89 kB / 0.5886 GB, free: 1.637 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.1407, allocations: 4 kB / 0.5886 GB, free: 1.633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.1407, allocations: 7.938 kB / 0.5886 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.1407, allocations: 8 kB / 0.5886 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1408, allocations: 29.7 kB / 0.5887 GB, free: 1.582 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.652e-05/0.1408, allocations: 36.2 kB / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.1408, allocations: 0 / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1408, allocations: 0 / 0.5887 GB, free: 1.547 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1408, allocations: 0 / 0.5887 GB, free: 1.547 MB / 494.1 MB 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.00041/0.1413, allocations: 329.2 kB / 0.589 GB, free: 1.18 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.1413, allocations: 16.03 kB / 0.589 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.1413, allocations: 3.984 kB / 0.589 GB, free: 1.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.1414, allocations: 178.9 kB / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1415, allocations: 0 / 0.5892 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1415, allocations: 4 kB / 0.5892 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.1416, allocations: 64.25 kB / 0.5893 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.1416, allocations: 3.938 kB / 0.5893 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1416, allocations: 4 kB / 0.5893 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1416, allocations: 7.984 kB / 0.5893 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.1417, allocations: 15.98 kB / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.142, allocations: 272.8 kB / 0.5896 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.1421, allocations: 38.56 kB / 0.5896 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.1421, allocations: 0 / 0.5896 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.1423, allocations: 63.48 kB / 0.5896 GB, free: 404 kB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1423, allocations: 0 / 0.5896 GB, free: 404 kB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.1425, allocations: 73.61 kB / 0.5897 GB, free: 324 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1426, allocations: 102.8 kB / 0.5898 GB, free: 196 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.1426, allocations: 105.9 kB / 0.5899 GB, free: 80 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1427, allocations: 25.7 kB / 0.5899 GB, free: 48 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.454e-05/0.1427, allocations: 88.12 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.1427, allocations: 15.81 kB / 0.59 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/0.1428, allocations: 0 / 0.59 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1429, allocations: 318.8 kB / 0.5903 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.1429, allocations: 8 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.233e-05/0.1429, allocations: 34.81 kB / 0.5904 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.143, allocations: 20.06 kB / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.143, allocations: 0 / 0.5904 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.692e-05/0.1431, allocations: 53.69 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1431, allocations: 12.03 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1431, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1431, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.1432, allocations: 7.984 kB / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.1432, allocations: 0 / 0.5905 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.1433, allocations: 11.98 kB / 0.5905 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1433, allocations: 7.938 kB / 0.5905 GB, free: 15.45 MB / 0.4981 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.323e-05/0.1434, allocations: 117.8 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.1434, allocations: 7.906 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.1435, allocations: 7.5 kB / 0.5906 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1435, allocations: 4 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1435, allocations: 0 / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1435, allocations: 3.938 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1436, allocations: 173.5 kB / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1436, allocations: 0 / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.1437, allocations: 0 / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1437, allocations: 4 kB / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1437, allocations: 4 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1437, allocations: 4 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1437, allocations: 0 / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.1438, allocations: 85.06 kB / 0.5909 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1439, allocations: 89.09 kB / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.1439, allocations: 0 / 0.591 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.144, allocations: 11.98 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.1441, allocations: 4 kB / 0.591 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.1441, allocations: 4 kB / 0.591 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.97e-05/0.1441, allocations: 91.33 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.453e-06/0.1441, allocations: 0 / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001803/0.1443, allocations: 19.94 kB / 0.5911 GB, free: 14.73 MB / 0.4981 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.0001121/0.1444, allocations: 103.4 kB / 0.5912 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.1445, allocations: 31.97 kB / 0.5912 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1445, allocations: 0 / 0.5912 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.1446, allocations: 15.98 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.819e-05/0.1447, allocations: 15.56 kB / 0.5913 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.145, allocations: 124.6 kB / 0.5914 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.1453, allocations: 0.6809 MB / 0.592 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.1453, allocations: 4 kB / 0.592 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.1453, allocations: 15.42 kB / 0.5921 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.364e-06/0.1454, allocations: 4 kB / 0.5921 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.002402/0.1478, allocations: 0.7816 MB / 0.5928 GB, free: 12.94 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1) Environment - environmentSimulation: