Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 112.5 kB / 15.73 MB, free: 76 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.001718/0.001718, allocations: 188.6 kB / 16.67 MB, free: 6.582 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.522/2.522, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 60.36 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2613, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002928/0.2643, allocations: 1.874 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002137/0.2665, allocations: 1.588 MB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.729e-05/0.2665, allocations: 3.938 kB / 1.224 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.2667, allocations: 27.78 kB / 1.224 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.267, allocations: 79.55 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.2674, allocations: 178.8 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.2678, allocations: 281.4 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.491e-05/0.2679, allocations: 33 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.268, allocations: 99.75 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.2682, allocations: 107.6 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.116e-05/0.2683, allocations: 20 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.2684, allocations: 87.95 kB / 1.224 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.2686, allocations: 83.8 kB / 1.225 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.2687, allocations: 123.3 kB / 1.225 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.2691, allocations: 334.6 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2691, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2691, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.2691, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007438/0.2699, allocations: 0.5806 MB / 1.226 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.2699, allocations: 8.031 kB / 1.226 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.7e-05/0.27, allocations: 54.73 kB / 1.226 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.2701, allocations: 32.75 kB / 1.226 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.2704, allocations: 278.9 kB / 1.226 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.2704, allocations: 12.38 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2704, allocations: 23.92 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000368/0.2708, allocations: 248.8 kB / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2708, allocations: 0 / 1.226 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2709, allocations: 8 kB / 1.226 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2709, allocations: 4 kB / 1.226 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.2718, allocations: 0.749 MB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009556/0.2727, allocations: 0.6332 MB / 1.228 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/0.2732, allocations: 306.4 kB / 1.228 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.2734, allocations: 113.4 kB / 1.228 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.2734, allocations: 16.25 kB / 1.228 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003147/0.2738, allocations: 188.2 kB / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=35): time 1.383e-06/0.2738, allocations: 0 / 1.228 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35): time 0.0006358/0.2744, allocations: 384.9 kB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.942e-05/0.2745, allocations: 140.5 kB / 1.229 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002904/0.2748, allocations: 305 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2748, allocations: 29.7 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.2749, allocations: 140.7 kB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.2751, allocations: 122.9 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.45e-05/0.2752, allocations: 65.69 kB / 1.229 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2753, allocations: 334.8 kB / 1.23 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.2755, allocations: 87.89 kB / 1.23 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.2757, allocations: 127.4 kB / 1.23 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.276, allocations: 218.3 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.276, allocations: 0 / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004299/0.2764, allocations: 277.3 kB / 1.23 GB, free: 3.684 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2764, allocations: 7.938 kB / 1.23 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2765, allocations: 3.984 kB / 1.23 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2765, allocations: 4 kB / 1.23 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.2767, allocations: 71.84 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2767, allocations: 0 / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.2768, allocations: 31.83 kB / 1.23 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.2769, allocations: 8 kB / 1.23 GB, free: 3.559 MB / 0.9825 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.0001544/0.277, allocations: 161.8 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.2771, allocations: 27.8 kB / 1.231 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.2777, allocations: 396.7 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2778, allocations: 0 / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2778, allocations: 7.984 kB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2778, allocations: 0 / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.2781, allocations: 353.3 kB / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2781, allocations: 0 / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.2783, allocations: 55.91 kB / 1.231 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.2783, allocations: 7.938 kB / 1.231 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.2783, allocations: 8 kB / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2783, allocations: 0 / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2783, allocations: 0 / 1.231 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004632/0.2788, allocations: 325.8 kB / 1.232 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.2789, allocations: 140.8 kB / 1.232 GB, free: 2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.279, allocations: 19.94 kB / 1.232 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001684/0.2792, allocations: 23.97 kB / 1.232 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.2792, allocations: 27.95 kB / 1.232 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.2793, allocations: 19.97 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002052/0.2795, allocations: 240.4 kB / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2795, allocations: 0 / 1.232 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002657/0.2797, allocations: 67.89 kB / 1.232 GB, free: 1.613 MB / 0.9825 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.001925/0.2817, allocations: 1.164 MB / 1.233 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.2821, allocations: 227.7 kB / 1.234 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2821, allocations: 0 / 1.234 GB, free: 360 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.2823, allocations: 131.8 kB / 1.234 GB, free: 228 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.2825, allocations: 42.88 kB / 1.234 GB, free: 184 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.2853, allocations: 2.526 MB / 1.236 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.2857, allocations: 0.758 MB / 1.237 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.286, allocations: 151 kB / 1.237 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.2861, allocations: 103.4 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.2861, allocations: 4 kB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.314/1.6, allocations: 6.021 MB / 1.243 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/15.26, allocations: 10.98 kB / 1.243 GB, free: 6.652 MB / 0.9981 GB (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)