Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001331/0.001331, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.001208/0.001208, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.351/1.351, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8092/0.8092, allocations: 132.2 MB / 423.3 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3144, allocations: 80.18 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00274/0.3171, allocations: 1.437 MB / 0.5822 GB, free: 26.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000354/0.3175, allocations: 195.7 kB / 0.5823 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.3176, allocations: 0 / 0.5823 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.649e-05/0.3176, allocations: 0 / 0.5823 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.3178, allocations: 26.38 kB / 0.5824 GB, free: 26.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.318, allocations: 49.67 kB / 0.5824 GB, free: 26.03 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.3181, allocations: 53.81 kB / 0.5825 GB, free: 26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.169e-05/0.3182, allocations: 4.594 kB / 0.5825 GB, free: 26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.3182, allocations: 24.61 kB / 0.5825 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.3183, allocations: 17.09 kB / 0.5825 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.3183, allocations: 3.688 kB / 0.5825 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.576e-05/0.3183, allocations: 4.75 kB / 0.5825 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.212e-05/0.3183, allocations: 13.2 kB / 0.5825 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.117e-05/0.3184, allocations: 23.39 kB / 0.5825 GB, free: 25.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.446e-05/0.3185, allocations: 41.38 kB / 0.5826 GB, free: 25.92 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3185, allocations: 0 / 0.5826 GB, free: 25.92 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3185, allocations: 5.375 kB / 0.5826 GB, free: 25.92 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3185, allocations: 0.7812 kB / 0.5826 GB, free: 25.92 MB / 446.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.0004389/0.3189, allocations: 347.8 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.319, allocations: 9.469 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.319, allocations: 9.344 kB / 0.5829 GB, free: 25.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.311e-05/0.3191, allocations: 166.9 kB / 0.5831 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.3191, allocations: 5.656 kB / 0.5831 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3191, allocations: 2.062 kB / 0.5831 GB, free: 25.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.3193, allocations: 74.27 kB / 0.5832 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.3193, allocations: 192 / 0.5832 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3193, allocations: 3.938 kB / 0.5832 GB, free: 25.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.3193, allocations: 6.156 kB / 0.5832 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.3194, allocations: 14.7 kB / 0.5832 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.3197, allocations: 261 kB / 0.5835 GB, free: 24.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.081e-05/0.3198, allocations: 44.81 kB / 0.5835 GB, free: 24.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.3198, allocations: 12.42 kB / 0.5835 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3198, allocations: 3.938 kB / 0.5835 GB, free: 24.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.32, allocations: 72 kB / 0.5836 GB, free: 24.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.32, allocations: 1.062 kB / 0.5836 GB, free: 24.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001956/0.3202, allocations: 71.78 kB / 0.5836 GB, free: 24.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3202, allocations: 106.2 kB / 0.5838 GB, free: 24.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.777e-05/0.3203, allocations: 104.7 kB / 0.5839 GB, free: 24.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3203, allocations: 30.89 kB / 0.5839 GB, free: 24.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.3204, allocations: 81.61 kB / 0.584 GB, free: 24.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.3204, allocations: 19.47 kB / 0.584 GB, free: 24.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.3204, allocations: 19.97 kB / 0.584 GB, free: 24.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.194e-05/0.3205, allocations: 322.8 kB / 0.5843 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.3205, allocations: 10.88 kB / 0.5843 GB, free: 24.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.3206, allocations: 32.91 kB / 0.5843 GB, free: 24.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.25e-05/0.3207, allocations: 26.39 kB / 0.5844 GB, free: 24.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.3207, allocations: 3.938 kB / 0.5844 GB, free: 24.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.431e-05/0.3208, allocations: 63.53 kB / 0.5844 GB, free: 23.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.3208, allocations: 7.75 kB / 0.5844 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3208, allocations: 0 / 0.5844 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3208, allocations: 0.625 kB / 0.5844 GB, free: 23.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.3209, allocations: 13.25 kB / 0.5845 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3209, allocations: 0.625 kB / 0.5845 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.321, allocations: 13.23 kB / 0.5845 GB, free: 23.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.321, allocations: 0 / 0.5845 GB, free: 23.96 MB / 446.1 MB 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 6.917e-05/0.3211, allocations: 124.5 kB / 0.5846 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.635e-05/0.3211, allocations: 3.031 kB / 0.5846 GB, free: 23.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.3212, allocations: 4.875 kB / 0.5846 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3212, allocations: 1.562 kB / 0.5846 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3212, allocations: 0 / 0.5846 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3212, allocations: 1.438 kB / 0.5846 GB, free: 23.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.79e-05/0.3213, allocations: 169.6 kB / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3213, allocations: 1.375 kB / 0.5848 GB, free: 23.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.3213, allocations: 6.484 kB / 0.5848 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.3214, allocations: 1.062 kB / 0.5848 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3214, allocations: 0 / 0.5848 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3214, allocations: 1.125 kB / 0.5848 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3214, allocations: 2.375 kB / 0.5848 GB, free: 23.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.3215, allocations: 102.9 kB / 0.5849 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.053e-05/0.3216, allocations: 80.61 kB / 0.5849 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.3216, allocations: 9.266 kB / 0.585 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3217, allocations: 5.75 kB / 0.585 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.3218, allocations: 6.891 kB / 0.585 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.3218, allocations: 1.812 kB / 0.585 GB, free: 23.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.086e-05/0.3218, allocations: 88.56 kB / 0.5851 GB, free: 23.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3218, allocations: 0.7188 kB / 0.5851 GB, free: 23.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.322, allocations: 13.58 kB / 0.5851 GB, free: 23.32 MB / 446.1 MB 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.0001153/0.3222, allocations: 99.88 kB / 0.5852 GB, free: 23.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.3223, allocations: 39.36 kB / 0.5852 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3223, allocations: 0 / 0.5852 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.3224, allocations: 12.75 kB / 0.5852 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.3225, allocations: 10.78 kB / 0.5852 GB, free: 23.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.3229, allocations: 143.7 kB / 0.5854 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.914e-05/0.323, allocations: 0.6778 MB / 0.586 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.323, allocations: 9.969 kB / 0.586 GB, free: 22.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.323, allocations: 0.8438 kB / 0.586 GB, free: 22.36 MB / 446.1 MB Notification: Performance of Templates: time 0.001926/0.3249, allocations: 0.8128 MB / 0.5868 GB, free: 21.97 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)