Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_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.004464/0.004464, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001157/0.001157, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.196/1.196, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 282.5 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8614/0.8614, allocations: 169.3 MB / 0.4983 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 103.8 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3269, allocations: 86.96 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002851/0.3298, allocations: 1.88 MB / 0.7678 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.3317, allocations: 1.577 MB / 0.7693 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3318, allocations: 0 / 0.7693 GB, free: 424 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.332, allocations: 31.72 kB / 0.7693 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.3323, allocations: 86.28 kB / 0.7694 GB, free: 308 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004021/0.3327, allocations: 169.3 kB / 0.7696 GB, free: 140 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.333, allocations: 285.3 kB / 0.7698 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.694e-05/0.3331, allocations: 32.86 kB / 0.7699 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.3332, allocations: 91.81 kB / 0.77 GB, free: 15.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.3334, allocations: 103.7 kB / 0.7701 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.3334, allocations: 20 kB / 0.7701 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3336, allocations: 91.95 kB / 0.7702 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.961e-05/0.3337, allocations: 95.67 kB / 0.7703 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.3338, allocations: 119.3 kB / 0.7704 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003421/0.3342, allocations: 328 kB / 0.7707 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3342, allocations: 3.984 kB / 0.7707 GB, free: 15 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3342, allocations: 0 / 0.7707 GB, free: 15 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.3342, allocations: 0 / 0.7707 GB, free: 15 MB / 0.545 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.0007124/0.3349, allocations: 0.5613 MB / 0.7712 GB, free: 14.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.3349, allocations: 12.03 kB / 0.7712 GB, free: 14.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.374e-05/0.335, allocations: 58.73 kB / 0.7713 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.3351, allocations: 40.73 kB / 0.7713 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.3355, allocations: 278.9 kB / 0.7716 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3355, allocations: 8.375 kB / 0.7716 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.3355, allocations: 23.94 kB / 0.7716 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.3359, allocations: 236.9 kB / 0.7719 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.3359, allocations: 0 / 0.7719 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.3359, allocations: 16 kB / 0.7719 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.336, allocations: 4 kB / 0.7719 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/0.3368, allocations: 0.749 MB / 0.7726 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009684/0.3378, allocations: 0.6255 MB / 0.7732 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.3383, allocations: 313.9 kB / 0.7735 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3384, allocations: 105.4 kB / 0.7736 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.3385, allocations: 28.17 kB / 0.7736 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/0.3388, allocations: 183.3 kB / 0.7738 GB, free: 11.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.572e-06/0.3388, allocations: 0 / 0.7738 GB, free: 11.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0006124/0.3394, allocations: 386.9 kB / 0.7742 GB, free: 11.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.3395, allocations: 132.5 kB / 0.7743 GB, free: 11.05 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.3398, allocations: 316.9 kB / 0.7746 GB, free: 10.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3398, allocations: 33.7 kB / 0.7747 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.3399, allocations: 132.7 kB / 0.7748 GB, free: 10.56 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.059e-05/0.34, allocations: 123 kB / 0.7749 GB, free: 10.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/0.3401, allocations: 65.69 kB / 0.775 GB, free: 10.37 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3402, allocations: 342.8 kB / 0.7753 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.3403, allocations: 83.81 kB / 0.7754 GB, free: 9.945 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.3405, allocations: 128.5 kB / 0.7755 GB, free: 9.809 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002916/0.3408, allocations: 214.3 kB / 0.7757 GB, free: 9.598 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3408, allocations: 0 / 0.7757 GB, free: 9.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004086/0.3412, allocations: 285.2 kB / 0.776 GB, free: 9.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.3413, allocations: 18.42 kB / 0.776 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3413, allocations: 0 / 0.776 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3413, allocations: 0 / 0.776 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3415, allocations: 59.91 kB / 0.776 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3415, allocations: 4 kB / 0.776 GB, free: 9.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.3417, allocations: 27.88 kB / 0.7761 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3417, allocations: 12 kB / 0.7761 GB, free: 9.195 MB / 0.545 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.0001434/0.3418, allocations: 164.2 kB / 0.7762 GB, free: 9.027 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-05/0.3419, allocations: 31.75 kB / 0.7763 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/0.3425, allocations: 396.8 kB / 0.7766 GB, free: 8.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3425, allocations: 4 kB / 0.7767 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3425, allocations: 0 / 0.7767 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3425, allocations: 0 / 0.7767 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.3428, allocations: 345.3 kB / 0.777 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3428, allocations: 0 / 0.777 GB, free: 8.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001681/0.343, allocations: 63.91 kB / 0.777 GB, free: 8.145 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.343, allocations: 7.938 kB / 0.777 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.343, allocations: 8 kB / 0.7771 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.343, allocations: 0 / 0.7771 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.3431, allocations: 4 kB / 0.7771 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.3435, allocations: 325.7 kB / 0.7774 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3436, allocations: 148.7 kB / 0.7775 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.3437, allocations: 11.94 kB / 0.7775 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.3439, allocations: 31.2 kB / 0.7776 GB, free: 7.586 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.3439, allocations: 23.97 kB / 0.7776 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.344, allocations: 15.98 kB / 0.7776 GB, free: 7.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001944/0.3442, allocations: 236.4 kB / 0.7778 GB, free: 7.316 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3442, allocations: 3.938 kB / 0.7778 GB, free: 7.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002841/0.3445, allocations: 63.94 kB / 0.7779 GB, free: 7.25 MB / 0.545 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.001456/0.3459, allocations: 1.164 MB / 0.779 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.3463, allocations: 231.6 kB / 0.7792 GB, free: 5.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3463, allocations: 4 kB / 0.7792 GB, free: 5.977 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3465, allocations: 123.9 kB / 0.7794 GB, free: 5.855 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3468, allocations: 42.98 kB / 0.7794 GB, free: 5.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.3494, allocations: 2.545 MB / 0.7819 GB, free: 3.188 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3497, allocations: 0.7575 MB / 0.7826 GB, free: 2.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.35, allocations: 147 kB / 0.7828 GB, free: 2.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3501, allocations: 99.39 kB / 0.7829 GB, free: 2.164 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.3501, allocations: 0 / 0.7829 GB, free: 2.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02297/0.3731, allocations: 6.05 MB / 0.7888 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/7.313, allocations: 14.64 kB / 0.7888 GB, free: 12.28 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckTemperature.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)