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.007444/0.007443, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002019/0.002019, allocations: 202 kB / 16.68 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.394/1.394, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002496/0.002496, allocations: 278.8 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002683/0.002683, allocations: 99.84 kB / 0.6943 GB, free: 3.609 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4295, allocations: 89.14 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003168/0.4327, allocations: 1.884 MB / 0.7832 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.435, allocations: 1.579 MB / 0.7847 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.531e-05/0.4351, allocations: 1.375 kB / 0.7847 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.4353, allocations: 29.55 kB / 0.7848 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002719/0.4356, allocations: 76.97 kB / 0.7848 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.436, allocations: 169.5 kB / 0.785 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.4364, allocations: 287 kB / 0.7853 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4365, allocations: 38.95 kB / 0.7853 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.4366, allocations: 92.5 kB / 0.7854 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.4369, allocations: 112.3 kB / 0.7855 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.4369, allocations: 19.53 kB / 0.7855 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.4371, allocations: 78.69 kB / 0.7856 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.4372, allocations: 94.28 kB / 0.7857 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.4374, allocations: 121.3 kB / 0.7858 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000428/0.4378, allocations: 327.9 kB / 0.7861 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4378, allocations: 3.938 kB / 0.7861 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4378, allocations: 0.6562 kB / 0.7861 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.4378, allocations: 1.406 kB / 0.7861 GB, free: 10.77 MB / 0.5606 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.0008293/0.4387, allocations: 0.5625 MB / 0.7867 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.4387, allocations: 9.5 kB / 0.7867 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.4388, allocations: 55.36 kB / 0.7867 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.4389, allocations: 34.75 kB / 0.7868 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.4393, allocations: 277.2 kB / 0.787 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.4393, allocations: 20.72 kB / 0.787 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.4393, allocations: 23.53 kB / 0.7871 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.4398, allocations: 236.8 kB / 0.7873 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.4398, allocations: 3.984 kB / 0.7873 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.4398, allocations: 11.2 kB / 0.7873 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4398, allocations: 4.312 kB / 0.7873 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.4408, allocations: 0.7486 MB / 0.788 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4419, allocations: 0.6295 MB / 0.7887 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006347/0.4425, allocations: 314.7 kB / 0.789 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.4428, allocations: 108.1 kB / 0.7891 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.4428, allocations: 25.45 kB / 0.7891 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003595/0.4432, allocations: 181.5 kB / 0.7893 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.653e-06/0.4432, allocations: 3.938 kB / 0.7893 GB, free: 9.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.0007189/0.4439, allocations: 380.5 kB / 0.7896 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/0.444, allocations: 133.5 kB / 0.7898 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003196/0.4443, allocations: 310.1 kB / 0.79 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.4444, allocations: 32.23 kB / 0.7901 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4445, allocations: 145.9 kB / 0.7902 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.4446, allocations: 123.3 kB / 0.7903 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4447, allocations: 69.66 kB / 0.7904 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4449, allocations: 344 kB / 0.7907 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4451, allocations: 80.47 kB / 0.7908 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.4453, allocations: 125 kB / 0.7909 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.4456, allocations: 210.4 kB / 0.7911 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4456, allocations: 4 kB / 0.7911 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004735/0.4461, allocations: 292.2 kB / 0.7914 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.4461, allocations: 9.5 kB / 0.7914 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4461, allocations: 0 / 0.7914 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4462, allocations: 2 kB / 0.7914 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4464, allocations: 60.86 kB / 0.7915 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4464, allocations: 1.312 kB / 0.7915 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.4466, allocations: 24.8 kB / 0.7915 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.4466, allocations: 13.75 kB / 0.7915 GB, free: 7.625 MB / 0.5606 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.000172/0.4468, allocations: 166.9 kB / 0.7917 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.4469, allocations: 35.25 kB / 0.7917 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.4476, allocations: 381.1 kB / 0.7921 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.4476, allocations: 7.688 kB / 0.7921 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4476, allocations: 1.062 kB / 0.7921 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4476, allocations: 2.203 kB / 0.7921 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.448, allocations: 343.5 kB / 0.7924 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.448, allocations: 0 / 0.7924 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.4482, allocations: 62.47 kB / 0.7925 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4482, allocations: 5.25 kB / 0.7925 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4482, allocations: 11.55 kB / 0.7925 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.4482, allocations: 5.969 kB / 0.7925 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4482, allocations: 0 / 0.7925 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005048/0.4488, allocations: 326.9 kB / 0.7928 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.4489, allocations: 148 kB / 0.7929 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.449, allocations: 13.61 kB / 0.793 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.4492, allocations: 22.62 kB / 0.793 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.579e-05/0.4492, allocations: 25.86 kB / 0.793 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.4493, allocations: 15.36 kB / 0.793 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002343/0.4495, allocations: 238 kB / 0.7932 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4495, allocations: 0 / 0.7932 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003094/0.4498, allocations: 71.5 kB / 0.7933 GB, free: 6.562 MB / 0.5606 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.002092/0.4519, allocations: 1.161 MB / 0.7944 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004232/0.4524, allocations: 237.8 kB / 0.7947 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4524, allocations: 3.938 kB / 0.7947 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.4526, allocations: 126.2 kB / 0.7948 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.4529, allocations: 38.3 kB / 0.7948 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.456, allocations: 2.537 MB / 0.7973 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.4564, allocations: 0.7631 MB / 0.7981 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003627/0.4568, allocations: 150.4 kB / 0.7982 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.457, allocations: 97.3 kB / 0.7983 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.457, allocations: 1.062 kB / 0.7983 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.4876, allocations: 6.041 MB / 0.8042 GB, free: 276 kB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.752, allocations: 11.48 kB / 0.8042 GB, free: 268 kB / 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)