Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001192/0.001192, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001243, allocations: 186.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.444/1.444, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.884/1.884, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002518/0.002518, allocations: 74.56 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2495, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003506/0.2531, allocations: 1.859 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2553, allocations: 1.489 MB / 0.7874 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.621e-05/0.2555, allocations: 0 / 0.7874 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.2557, allocations: 35.7 kB / 0.7874 GB, free: 9.344 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003164/0.2561, allocations: 75.56 kB / 0.7875 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004707/0.2565, allocations: 153.8 kB / 0.7876 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.2569, allocations: 281.4 kB / 0.7879 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.2571, allocations: 33.05 kB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.2572, allocations: 91.81 kB / 0.788 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.2575, allocations: 103.6 kB / 0.7881 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.2575, allocations: 20 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001683/0.2577, allocations: 71.97 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2578, allocations: 91.73 kB / 0.7883 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.258, allocations: 115.3 kB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004916/0.2585, allocations: 319 kB / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2585, allocations: 0 / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2585, allocations: 0 / 0.7887 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.2585, allocations: 0 / 0.7887 GB, free: 8.02 MB / 0.6075 GB 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.0009263/0.2595, allocations: 0.5613 MB / 0.7893 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.2595, allocations: 12.02 kB / 0.7893 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2597, allocations: 28.66 kB / 0.7893 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.2601, allocations: 278.7 kB / 0.7896 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2601, allocations: 12.38 kB / 0.7896 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.2602, allocations: 16.12 kB / 0.7896 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.2606, allocations: 229.7 kB / 0.7898 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2606, allocations: 4 kB / 0.7898 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.2607, allocations: 8 kB / 0.7898 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.2607, allocations: 4 kB / 0.7898 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.2616, allocations: 0.7566 MB / 0.7906 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.2626, allocations: 0.6137 MB / 0.7912 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.2631, allocations: 305.9 kB / 0.7915 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2633, allocations: 117.4 kB / 0.7916 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.613e-05/0.2633, allocations: 16.25 kB / 0.7916 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.2637, allocations: 184 kB / 0.7918 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.833e-06/0.2637, allocations: 0 / 0.7918 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.0006943/0.2644, allocations: 378 kB / 0.7921 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.621e-05/0.2645, allocations: 140.4 kB / 0.7923 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2648, allocations: 309 kB / 0.7925 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2649, allocations: 33.69 kB / 0.7926 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.723e-05/0.265, allocations: 136.6 kB / 0.7927 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.836e-05/0.2651, allocations: 114.3 kB / 0.7928 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-05/0.2652, allocations: 69.62 kB / 0.7929 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2653, allocations: 338.8 kB / 0.7932 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.2655, allocations: 83.95 kB / 0.7933 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000178/0.2657, allocations: 123.4 kB / 0.7934 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.266, allocations: 226.2 kB / 0.7936 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.266, allocations: 0 / 0.7936 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004565/0.2665, allocations: 281.2 kB / 0.7939 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2665, allocations: 4 kB / 0.7939 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2665, allocations: 0 / 0.7939 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.2665, allocations: 7.938 kB / 0.7939 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.2668, allocations: 59.91 kB / 0.794 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2668, allocations: 3.938 kB / 0.794 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.267, allocations: 27.73 kB / 0.794 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.267, allocations: 19.98 kB / 0.794 GB, free: 2.316 MB / 0.6075 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 (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 (36): * Single equations (assignments): 36 * 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.0001757/0.2672, allocations: 166.4 kB / 0.7942 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.2673, allocations: 23.72 kB / 0.7942 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.004e-05/0.2674, allocations: 42.95 kB / 0.7942 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.2674, allocations: 7.938 kB / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2674, allocations: 0 / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2674, allocations: 0 / 0.7942 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003403/0.2677, allocations: 345.3 kB / 0.7946 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2677, allocations: 4 kB / 0.7946 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.2679, allocations: 59.91 kB / 0.7946 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2679, allocations: 0 / 0.7946 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.268, allocations: 8 kB / 0.7946 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.268, allocations: 7.938 kB / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.268, allocations: 0 / 0.7946 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.2685, allocations: 332.5 kB / 0.795 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.2686, allocations: 144.7 kB / 0.7951 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.2687, allocations: 8 kB / 0.7951 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.2689, allocations: 31 kB / 0.7951 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/0.269, allocations: 23.97 kB / 0.7952 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.269, allocations: 19.98 kB / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002071/0.2692, allocations: 236.4 kB / 0.7954 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2692, allocations: 0 / 0.7954 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002971/0.2695, allocations: 63.94 kB / 0.7955 GB, free: 0.7305 MB / 0.6075 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 (35): * Single equations (assignments): 34 * 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.0008756/0.2704, allocations: 411.1 kB / 0.7959 GB, free: 480 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004156/0.2708, allocations: 231.7 kB / 0.7961 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2709, allocations: 0 / 0.7961 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.2711, allocations: 131.8 kB / 0.7962 GB, free: 116 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.2714, allocations: 41.91 kB / 0.7962 GB, free: 80 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008264/0.2722, allocations: 0.5175 MB / 0.7967 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.2726, allocations: 0.7692 MB / 0.7975 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.2729, allocations: 146.9 kB / 0.7976 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.809e-05/0.273, allocations: 39.42 kB / 0.7977 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.273, allocations: 0 / 0.7977 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.007158/0.2802, allocations: 3.383 MB / 0.801 GB, free: 11.21 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)