Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00148/0.001485, allocations: 100.1 kB / 16.35 MB, free: 5.828 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.001554/0.001554, allocations: 194.5 kB / 17.29 MB, free: 5.484 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.627/1.627, allocations: 222.9 MB / 241 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002846/0.002846, allocations: 275 kB / 291.4 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.4989 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 98.77 kB / 0.5967 GB, free: 27.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2725, allocations: 86.98 MB / 0.6816 GB, free: 15.95 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004266/0.2768, allocations: 1.656 MB / 0.6832 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.279, allocations: 1.18 MB / 0.6844 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.2792, allocations: 0 / 0.6844 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000307/0.2795, allocations: 27.8 kB / 0.6844 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.28, allocations: 71.62 kB / 0.6845 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005629/0.2805, allocations: 152.6 kB / 0.6846 GB, free: 12.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.2809, allocations: 241.6 kB / 0.6848 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2811, allocations: 23.94 kB / 0.6849 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.2813, allocations: 87.75 kB / 0.6849 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.2816, allocations: 101.3 kB / 0.685 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.264e-05/0.2817, allocations: 16 kB / 0.6851 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002199/0.2819, allocations: 79.95 kB / 0.6851 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.282, allocations: 79.81 kB / 0.6852 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.2822, allocations: 103.3 kB / 0.6853 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.2827, allocations: 291.1 kB / 0.6856 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2827, allocations: 0 / 0.6856 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2827, allocations: 3.938 kB / 0.6856 GB, free: 11.85 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2828, allocations: 0 / 0.6856 GB, free: 11.85 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001077/0.2838, allocations: 0.5345 MB / 0.6861 GB, free: 11.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.2839, allocations: 8.031 kB / 0.6861 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.284, allocations: 28.66 kB / 0.6861 GB, free: 11.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.2844, allocations: 272.7 kB / 0.6864 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.2845, allocations: 8.375 kB / 0.6864 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.595e-05/0.2845, allocations: 20.38 kB / 0.6864 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004251/0.285, allocations: 221.2 kB / 0.6866 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.285, allocations: 3.938 kB / 0.6867 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.259e-05/0.285, allocations: 12 kB / 0.6867 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.285, allocations: 4 kB / 0.6867 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009623/0.286, allocations: 0.7334 MB / 0.6874 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2871, allocations: 0.5742 MB / 0.6879 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/0.2875, allocations: 231.4 kB / 0.6882 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001732/0.2877, allocations: 100.8 kB / 0.6883 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.2878, allocations: 19.97 kB / 0.6883 GB, free: 8.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.2882, allocations: 165.5 kB / 0.6884 GB, free: 8.754 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.2882, allocations: 0 / 0.6884 GB, free: 8.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007589/0.289, allocations: 372.2 kB / 0.6888 GB, free: 8.387 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.2891, allocations: 140.5 kB / 0.6889 GB, free: 8.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.2895, allocations: 308.9 kB / 0.6892 GB, free: 7.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.2895, allocations: 29.7 kB / 0.6892 GB, free: 7.875 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2896, allocations: 128.6 kB / 0.6894 GB, free: 7.746 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2897, allocations: 114.4 kB / 0.6895 GB, free: 7.633 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.2899, allocations: 61.69 kB / 0.6895 GB, free: 7.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.29, allocations: 338.8 kB / 0.6899 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.2902, allocations: 79.95 kB / 0.6899 GB, free: 7.148 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.2904, allocations: 123.6 kB / 0.6901 GB, free: 7.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.2907, allocations: 204.7 kB / 0.6903 GB, free: 6.812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2907, allocations: 0 / 0.6903 GB, free: 6.812 MB / 494.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004669/0.2912, allocations: 277.7 kB / 0.6905 GB, free: 6.535 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2912, allocations: 8 kB / 0.6905 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.2912, allocations: 0 / 0.6905 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.2913, allocations: 0 / 0.6905 GB, free: 6.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.2915, allocations: 59.91 kB / 0.6906 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2915, allocations: 0 / 0.6906 GB, free: 6.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.2917, allocations: 39.67 kB / 0.6906 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.2917, allocations: 8 kB / 0.6906 GB, free: 6.422 MB / 494.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.0002011/0.2919, allocations: 167 kB / 0.6908 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.292, allocations: 23.72 kB / 0.6908 GB, free: 6.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007357/0.2927, allocations: 376.7 kB / 0.6912 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.2928, allocations: 7.984 kB / 0.6912 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2928, allocations: 0 / 0.6912 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2928, allocations: 3.938 kB / 0.6912 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.2932, allocations: 329.3 kB / 0.6915 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2932, allocations: 0 / 0.6915 GB, free: 5.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.2933, allocations: 59.91 kB / 0.6915 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2934, allocations: 0 / 0.6915 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.2934, allocations: 12 kB / 0.6916 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.2934, allocations: 0 / 0.6916 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2934, allocations: 0 / 0.6916 GB, free: 5.395 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.2939, allocations: 326.2 kB / 0.6919 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.2941, allocations: 148.5 kB / 0.692 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.2941, allocations: 8 kB / 0.692 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.2943, allocations: 19.98 kB / 0.692 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.2944, allocations: 23.91 kB / 0.6921 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.332e-05/0.2944, allocations: 15.98 kB / 0.6921 GB, free: 4.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002286/0.2947, allocations: 232.5 kB / 0.6923 GB, free: 4.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2947, allocations: 0 / 0.6923 GB, free: 4.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003382/0.295, allocations: 59.98 kB / 0.6924 GB, free: 4.543 MB / 494.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.001056/0.2961, allocations: 410 kB / 0.6927 GB, free: 4.281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004601/0.2965, allocations: 223.8 kB / 0.693 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2966, allocations: 0 / 0.693 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.2968, allocations: 123.8 kB / 0.6931 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.2971, allocations: 41.56 kB / 0.6931 GB, free: 3.902 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.2981, allocations: 0.4964 MB / 0.6936 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.2985, allocations: 0.7535 MB / 0.6943 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003433/0.2988, allocations: 150.8 kB / 0.6945 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.43e-05/0.2989, allocations: 43.41 kB / 0.6945 GB, free: 2.418 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2989, allocations: 0 / 0.6945 GB, free: 2.418 MB / 494.1 MB Notification: Performance of Templates: time 0.008187/0.3071, allocations: 3.034 MB / 0.6975 GB, free: 15.43 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1)