Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009268/0.0009269, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001225/0.001225, allocations: 168.7 kB / 15.95 MB, free: 204 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.258/1.258, allocations: 223.2 MB / 240 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7138/0.7138, allocations: 132.4 MB / 423.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002765/0.0002765, allocations: 12.91 kB / 0.5034 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3377, allocations: 81.57 MB / 0.5831 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001635/0.3394, allocations: 1.546 MB / 0.5846 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001538/0.3409, allocations: 1.462 MB / 0.586 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.25e-05/0.341, allocations: 0.625 kB / 0.586 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.3411, allocations: 25.25 kB / 0.586 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3413, allocations: 64.5 kB / 0.5861 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.3417, allocations: 141.4 kB / 0.5862 GB, free: 1.961 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.342, allocations: 238.8 kB / 0.5865 GB, free: 1.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.3421, allocations: 26.44 kB / 0.5865 GB, free: 1.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.3422, allocations: 79.27 kB / 0.5866 GB, free: 1.816 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.3423, allocations: 102.3 kB / 0.5867 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.101e-05/0.3424, allocations: 8.75 kB / 0.5867 GB, free: 1.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3425, allocations: 66.11 kB / 0.5867 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.3426, allocations: 76.33 kB / 0.5868 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.283e-05/0.3427, allocations: 65.77 kB / 0.5869 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.343, allocations: 222.7 kB / 0.5871 GB, free: 1.613 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.343, allocations: 4.688 kB / 0.5871 GB, free: 1.609 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.343, allocations: 0.5312 kB / 0.5871 GB, free: 1.609 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.343, allocations: 0 / 0.5871 GB, free: 1.609 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0005484/0.3435, allocations: 0.5016 MB / 0.5876 GB, free: 1.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.3436, allocations: 8.656 kB / 0.5876 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.3437, allocations: 33.59 kB / 0.5876 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.3439, allocations: 263.6 kB / 0.5879 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.344, allocations: 11.59 kB / 0.5879 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.344, allocations: 18.95 kB / 0.5879 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.3444, allocations: 235.5 kB / 0.5881 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3444, allocations: 0.75 kB / 0.5881 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3444, allocations: 6.75 kB / 0.5881 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.3444, allocations: 3.719 kB / 0.5881 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009531/0.3454, allocations: 0.7461 MB / 0.5889 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009359/0.3463, allocations: 0.648 MB / 0.5895 GB, free: 240 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.3468, allocations: 306.9 kB / 0.5898 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.347, allocations: 107 kB / 0.5899 GB, free: 84 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.347, allocations: 18.08 kB / 0.5899 GB, free: 80 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.3474, allocations: 183.9 kB / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 3.586e-06/0.3474, allocations: 0 / 0.5901 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006735/0.3481, allocations: 366.8 kB / 0.5904 GB, free: 15.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.3481, allocations: 141.4 kB / 0.5906 GB, free: 15.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.3485, allocations: 308.7 kB / 0.5909 GB, free: 15.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.3485, allocations: 31.52 kB / 0.5909 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.017e-05/0.3486, allocations: 133.8 kB / 0.591 GB, free: 15.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.898e-05/0.3487, allocations: 117.8 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.3487, allocations: 5.312 kB / 0.5911 GB, free: 15.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3488, allocations: 338.8 kB / 0.5915 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.349, allocations: 79.83 kB / 0.5915 GB, free: 14.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3492, allocations: 130.4 kB / 0.5917 GB, free: 14.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.3494, allocations: 102.4 kB / 0.5918 GB, free: 14.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3494, allocations: 0 / 0.5918 GB, free: 14.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004451/0.3498, allocations: 289.2 kB / 0.592 GB, free: 14.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.3499, allocations: 4.125 kB / 0.592 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3499, allocations: 5.203 kB / 0.5921 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3499, allocations: 2.047 kB / 0.5921 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.3501, allocations: 65.19 kB / 0.5921 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3501, allocations: 1.375 kB / 0.5921 GB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001438/0.3503, allocations: 29.98 kB / 0.5921 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.3503, allocations: 14.42 kB / 0.5922 GB, free: 14.67 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 ($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 (36): * Single equations (assignments): 36 * 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 0.0001518/0.3505, allocations: 168.3 kB / 0.5923 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.76e-05/0.3505, allocations: 29.62 kB / 0.5923 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/0.3512, allocations: 389.2 kB / 0.5927 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.3512, allocations: 10.61 kB / 0.5927 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3512, allocations: 1.281 kB / 0.5927 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3513, allocations: 2.297 kB / 0.5927 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.3516, allocations: 337.8 kB / 0.5931 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3516, allocations: 0.75 kB / 0.5931 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.3518, allocations: 57.22 kB / 0.5931 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3518, allocations: 1.219 kB / 0.5931 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.3518, allocations: 11.91 kB / 0.5931 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.3518, allocations: 1.281 kB / 0.5931 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3518, allocations: 3.953 kB / 0.5931 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004767/0.3523, allocations: 336.4 kB / 0.5934 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.3525, allocations: 153.1 kB / 0.5936 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.226e-05/0.3525, allocations: 7.125 kB / 0.5936 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.3527, allocations: 31.72 kB / 0.5936 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.118e-05/0.3528, allocations: 29.81 kB / 0.5937 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3528, allocations: 17.16 kB / 0.5937 GB, free: 13.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.353, allocations: 235.2 kB / 0.5939 GB, free: 13.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.353, allocations: 0 / 0.5939 GB, free: 13.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3533, allocations: 62.61 kB / 0.594 GB, free: 13.61 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 (35): * Single equations (assignments): 34 * 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.000827/0.3542, allocations: 407.3 kB / 0.5943 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00037/0.3545, allocations: 227.5 kB / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3545, allocations: 0 / 0.5946 GB, free: 13.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.3547, allocations: 129.3 kB / 0.5947 GB, free: 13.34 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.355, allocations: 45.42 kB / 0.5947 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007818/0.3558, allocations: 0.5988 MB / 0.5953 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3561, allocations: 0.7607 MB / 0.5961 GB, free: 12.26 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000324/0.3564, allocations: 141.5 kB / 0.5962 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/0.3565, allocations: 42.14 kB / 0.5962 GB, free: 12.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3565, allocations: 1.312 kB / 0.5962 GB, free: 12.21 MB / 446.1 MB Notification: Performance of Templates: time 0.006164/0.3627, allocations: 3.162 MB / 0.5993 GB, free: 10.96 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)