Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="Buildings_9_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.000741/0.0007411, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004439/0.004439, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.199/1.199, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.076/2.076, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002939, allocations: 15.98 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5065/0.5068, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.001612/0.5085, allocations: 1.586 MB / 0.9567 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001572/0.51, allocations: 1.527 MB / 0.9582 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.647e-05/0.5101, allocations: 0.9375 kB / 0.9582 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.5103, allocations: 27.84 kB / 0.9582 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.5105, allocations: 67 kB / 0.9583 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.5108, allocations: 161.3 kB / 0.9585 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.511, allocations: 254 kB / 0.9587 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.379e-05/0.5111, allocations: 37.09 kB / 0.9587 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.236e-05/0.5112, allocations: 83.77 kB / 0.9588 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.5114, allocations: 91.45 kB / 0.9589 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.5114, allocations: 9.625 kB / 0.9589 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.5115, allocations: 73.34 kB / 0.959 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.5116, allocations: 83.34 kB / 0.9591 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.5117, allocations: 136.5 kB / 0.9592 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.512, allocations: 310.6 kB / 0.9595 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.512, allocations: 3.984 kB / 0.9595 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.512, allocations: 0 / 0.9595 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.512, allocations: 5.438 kB / 0.9595 GB, free: 4.457 MB / 0.7169 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.0005156/0.5125, allocations: 0.4997 MB / 0.96 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.5125, allocations: 9.844 kB / 0.96 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.534e-05/0.5126, allocations: 54.09 kB / 0.96 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.5127, allocations: 32.94 kB / 0.9601 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.5129, allocations: 277.6 kB / 0.9603 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5129, allocations: 16.31 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.513, allocations: 19.38 kB / 0.9604 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/0.5133, allocations: 248.2 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5133, allocations: 1.031 kB / 0.9606 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.5133, allocations: 5.969 kB / 0.9606 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5133, allocations: 4.219 kB / 0.9606 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.514, allocations: 0.7445 MB / 0.9613 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007827/0.5148, allocations: 0.6518 MB / 0.962 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003951/0.5152, allocations: 315.9 kB / 0.9623 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.5154, allocations: 111.5 kB / 0.9624 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.474e-05/0.5154, allocations: 21.05 kB / 0.9624 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.5157, allocations: 182.6 kB / 0.9626 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 1.443e-06/0.5157, allocations: 1.125 kB / 0.9626 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.0005184/0.5162, allocations: 371.2 kB / 0.9629 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.5162, allocations: 145.5 kB / 0.9631 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.5165, allocations: 309 kB / 0.9634 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5165, allocations: 31.86 kB / 0.9634 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.5166, allocations: 139.7 kB / 0.9635 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.885e-05/0.5166, allocations: 112.6 kB / 0.9636 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.5167, allocations: 30.86 kB / 0.9637 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.557e-05/0.5167, allocations: 339 kB / 0.964 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.5168, allocations: 84.88 kB / 0.9641 GB, free: 1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.517, allocations: 129.1 kB / 0.9642 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.5172, allocations: 208.6 kB / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5172, allocations: 0 / 0.9644 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003548/0.5176, allocations: 289.4 kB / 0.9647 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.5176, allocations: 9.844 kB / 0.9647 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5176, allocations: 0 / 0.9647 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5176, allocations: 1.594 kB / 0.9647 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.5178, allocations: 60.75 kB / 0.9647 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.5179, allocations: 4.969 kB / 0.9647 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.518, allocations: 30.77 kB / 0.9648 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.518, allocations: 12.69 kB / 0.9648 GB, free: 0.6289 MB / 0.7169 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.0001098/0.5181, allocations: 166.5 kB / 0.9649 GB, free: 492 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.5182, allocations: 29.53 kB / 0.965 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.5187, allocations: 389.2 kB / 0.9653 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5188, allocations: 4 kB / 0.9653 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5188, allocations: 0 / 0.9653 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.5188, allocations: 1.062 kB / 0.9654 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002537/0.519, allocations: 344.8 kB / 0.9657 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.519, allocations: 0 / 0.9657 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5192, allocations: 62.62 kB / 0.9657 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5192, allocations: 4.969 kB / 0.9657 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.5193, allocations: 13.16 kB / 0.9658 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5193, allocations: 4.688 kB / 0.9658 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/0.5193, allocations: 8.859 kB / 0.9658 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.5197, allocations: 323.2 kB / 0.9661 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.5198, allocations: 148.2 kB / 0.9662 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5199, allocations: 9.906 kB / 0.9662 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.5201, allocations: 29.31 kB / 0.9663 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.5201, allocations: 29.09 kB / 0.9663 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.5202, allocations: 13.81 kB / 0.9663 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001977/0.5204, allocations: 238.1 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5204, allocations: 0 / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002736/0.5206, allocations: 70.58 kB / 0.9666 GB, free: 15.36 MB / 0.7325 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.001381/0.522, allocations: 1.164 MB / 0.9677 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003413/0.5224, allocations: 226.4 kB / 0.9679 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5224, allocations: 5.094 kB / 0.9679 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.5226, allocations: 134.6 kB / 0.9681 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002656/0.5229, allocations: 45.95 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.5255, allocations: 2.602 MB / 0.9707 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.5258, allocations: 0.7667 MB / 0.9714 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.5261, allocations: 151.3 kB / 0.9716 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5263, allocations: 97.58 kB / 0.9716 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.5263, allocations: 0 / 0.9716 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.394/2.92, allocations: 5.509 MB / 0.977 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/2.92, allocations: 280.6 kB / 0.9773 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.181/5.101, allocations: 1.25 kB / 0.9773 GB, free: 8.41 MB / 0.7325 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)