Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 108.8 kB / 15.99 MB, free: 6.355 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.001603/0.001603, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8664/0.8664, allocations: 135.1 MB / 425.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 67.91 kB / 0.5055 GB, free: 8.746 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4216, allocations: 80.92 MB / 0.5845 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002839/0.4245, allocations: 1.696 MB / 0.5862 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.4259, allocations: 1.144 MB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.156e-05/0.426, allocations: 2.844 kB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.4263, allocations: 14.64 kB / 0.5873 GB, free: 23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.4265, allocations: 57.05 kB / 0.5874 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.4268, allocations: 138.8 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.4271, allocations: 238.2 kB / 0.5877 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4272, allocations: 20.5 kB / 0.5878 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.96e-05/0.4273, allocations: 77.77 kB / 0.5878 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.4275, allocations: 96.05 kB / 0.5879 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.64e-05/0.4276, allocations: 17.88 kB / 0.5879 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.4277, allocations: 72.34 kB / 0.588 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.4278, allocations: 78.5 kB / 0.5881 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.4279, allocations: 108.7 kB / 0.5882 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.4282, allocations: 204.7 kB / 0.5884 GB, free: 22.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.4282, allocations: 9.828 kB / 0.5884 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4282, allocations: 1.25 kB / 0.5884 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.4282, allocations: 0 / 0.5884 GB, free: 22.34 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006801/0.4289, allocations: 0.5207 MB / 0.5889 GB, free: 21.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4289, allocations: 11.17 kB / 0.5889 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.429, allocations: 29.44 kB / 0.5889 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.4292, allocations: 269.9 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.4293, allocations: 10.94 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.4293, allocations: 15.22 kB / 0.5892 GB, free: 21.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003238/0.4296, allocations: 222 kB / 0.5894 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.4297, allocations: 0 / 0.5894 GB, free: 21.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.4297, allocations: 10.59 kB / 0.5894 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.4297, allocations: 8.359 kB / 0.5895 GB, free: 21.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.4305, allocations: 0.7392 MB / 0.5902 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007582/0.4312, allocations: 0.5651 MB / 0.5907 GB, free: 20.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.4315, allocations: 228.8 kB / 0.5909 GB, free: 20.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.4316, allocations: 101.5 kB / 0.591 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.4317, allocations: 19.97 kB / 0.5911 GB, free: 19.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002966/0.432, allocations: 171.3 kB / 0.5912 GB, free: 19.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.703e-06/0.432, allocations: 0 / 0.5912 GB, free: 19.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0005283/0.4325, allocations: 360.2 kB / 0.5916 GB, free: 19.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.4326, allocations: 136.5 kB / 0.5917 GB, free: 19.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.4328, allocations: 306 kB / 0.592 GB, free: 18.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4328, allocations: 29.7 kB / 0.592 GB, free: 18.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.4329, allocations: 129.2 kB / 0.5921 GB, free: 18.73 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.003e-05/0.433, allocations: 111.8 kB / 0.5922 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.507e-05/0.433, allocations: 65.69 kB / 0.5923 GB, free: 18.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.4331, allocations: 338.8 kB / 0.5926 GB, free: 18.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.4332, allocations: 84.58 kB / 0.5927 GB, free: 18.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.4334, allocations: 126 kB / 0.5928 GB, free: 17.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.4336, allocations: 208.7 kB / 0.593 GB, free: 17.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4336, allocations: 0.625 kB / 0.593 GB, free: 17.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003235/0.434, allocations: 269.7 kB / 0.5933 GB, free: 17.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.434, allocations: 8.5 kB / 0.5933 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.434, allocations: 1.031 kB / 0.5933 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.434, allocations: 0 / 0.5933 GB, free: 17.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.4342, allocations: 63.91 kB / 0.5934 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4342, allocations: 1.094 kB / 0.5934 GB, free: 17.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.4344, allocations: 23.83 kB / 0.5934 GB, free: 17.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.4344, allocations: 20.8 kB / 0.5934 GB, free: 17.4 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 (34): * Single equations (assignments): 34 * 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.0001234/0.4345, allocations: 158.3 kB / 0.5936 GB, free: 17.24 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.4346, allocations: 28.25 kB / 0.5936 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005302/0.4351, allocations: 374.2 kB / 0.5939 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.4351, allocations: 4 kB / 0.5939 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4351, allocations: 1.125 kB / 0.5939 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4351, allocations: 0 / 0.5939 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.4354, allocations: 333.2 kB / 0.5943 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.4354, allocations: 5.594 kB / 0.5943 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.4355, allocations: 59.91 kB / 0.5943 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4355, allocations: 0 / 0.5943 GB, free: 16.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4356, allocations: 8 kB / 0.5943 GB, free: 16.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4356, allocations: 8.828 kB / 0.5943 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4356, allocations: 4 kB / 0.5943 GB, free: 16.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003741/0.436, allocations: 319.3 kB / 0.5946 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.436, allocations: 146.3 kB / 0.5948 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.891e-05/0.4361, allocations: 8 kB / 0.5948 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4362, allocations: 15.98 kB / 0.5948 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.754e-05/0.4363, allocations: 27.12 kB / 0.5948 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.4363, allocations: 11.98 kB / 0.5948 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.4365, allocations: 240.4 kB / 0.5951 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4365, allocations: 0 / 0.5951 GB, free: 15.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.4368, allocations: 67.84 kB / 0.5951 GB, free: 15.54 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 (33): * Single equations (assignments): 32 * 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.0008734/0.4376, allocations: 392.3 kB / 0.5955 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004085/0.4381, allocations: 303.9 kB / 0.5958 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4381, allocations: 0.5 kB / 0.5958 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.4382, allocations: 127.9 kB / 0.5959 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.4385, allocations: 32.83 kB / 0.596 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.4391, allocations: 0.612 MB / 0.5966 GB, free: 14.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.4393, allocations: 0.7517 MB / 0.5973 GB, free: 13.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.4394, allocations: 55.34 kB / 0.5973 GB, free: 13.41 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4394, allocations: 4 kB / 0.5973 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Templates: time 0.004963/0.4444, allocations: 4.169 MB / 0.6014 GB, free: 9.305 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)