Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.004084/0.004084, allocations: 99.95 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.001038/0.001038, allocations: 189.4 kB / 16.67 MB, free: 5.973 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.17/1.17, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001967/0.001967, allocations: 292.6 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8512/0.8512, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 104.2 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3387, allocations: 86.98 MB / 0.7659 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002261/0.341, allocations: 1.437 MB / 0.7673 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.3414, allocations: 195.3 kB / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.3415, allocations: 0 / 0.7675 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.3415, allocations: 7.922 kB / 0.7675 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.3417, allocations: 19.88 kB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.3419, allocations: 59.41 kB / 0.7676 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.342, allocations: 59.83 kB / 0.7676 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.992e-05/0.342, allocations: 7.656 kB / 0.7677 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.981e-05/0.3421, allocations: 35.86 kB / 0.7677 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.3422, allocations: 19.92 kB / 0.7677 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3422, allocations: 4 kB / 0.7677 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.204e-05/0.3422, allocations: 4 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.3422, allocations: 11.97 kB / 0.7677 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3423, allocations: 23.92 kB / 0.7678 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.798e-05/0.3424, allocations: 47.8 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3424, allocations: 4 kB / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3424, allocations: 0 / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.3424, allocations: 0 / 0.7678 GB, free: 1.934 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004535/0.3429, allocations: 352.8 kB / 0.7681 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.3429, allocations: 8.031 kB / 0.7681 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.343, allocations: 38.73 kB / 0.7682 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.343, allocations: 12.81 kB / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.3431, allocations: 168.4 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.3431, allocations: 384 / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3431, allocations: 4.375 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3433, allocations: 86.56 kB / 0.7684 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3433, allocations: 3.938 kB / 0.7684 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.3433, allocations: 4 kB / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.3433, allocations: 0 / 0.7685 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.019e-05/0.3434, allocations: 15.98 kB / 0.7685 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.3437, allocations: 280.7 kB / 0.7687 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.3438, allocations: 42.58 kB / 0.7688 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.3438, allocations: 16.94 kB / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.3438, allocations: 0 / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.344, allocations: 63.39 kB / 0.7689 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.344, allocations: 0 / 0.7689 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001879/0.3442, allocations: 73.62 kB / 0.7689 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.3442, allocations: 106.8 kB / 0.769 GB, free: 484 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.3443, allocations: 105.9 kB / 0.7691 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.3443, allocations: 25.7 kB / 0.7691 GB, free: 336 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3444, allocations: 92.08 kB / 0.7692 GB, free: 240 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.662e-05/0.3444, allocations: 7.953 kB / 0.7692 GB, free: 232 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.3444, allocations: 21.7 kB / 0.7693 GB, free: 204 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3445, allocations: 322.8 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.3446, allocations: 4 kB / 0.7696 GB, free: 15.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-05/0.3446, allocations: 38.56 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.3447, allocations: 28.8 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3447, allocations: 0 / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.189e-05/0.3448, allocations: 61.62 kB / 0.7697 GB, free: 15.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.3448, allocations: 4 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3448, allocations: 0 / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.3448, allocations: 4 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.3449, allocations: 8.422 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3449, allocations: 0 / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.345, allocations: 15.97 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.345, allocations: 12 kB / 0.7697 GB, free: 15.68 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 (5): * Single equations (assignments): 5 * 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 7.281e-05/0.3451, allocations: 124.1 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.3451, allocations: 4 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.601e-05/0.3452, allocations: 3.5 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.3452, allocations: 4 kB / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3452, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3452, allocations: 0 / 0.7699 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3453, allocations: 181.5 kB / 0.77 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3453, allocations: 0 / 0.77 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-05/0.3453, allocations: 8.188 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3454, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.3454, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3454, allocations: 0 / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.3454, allocations: 3.984 kB / 0.7701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000125/0.3455, allocations: 97 kB / 0.7701 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.3456, allocations: 85.03 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.3456, allocations: 8 kB / 0.7702 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3457, allocations: 11.98 kB / 0.7702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.3457, allocations: 7.938 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.3457, allocations: 0 / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.545e-05/0.3458, allocations: 87.27 kB / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3458, allocations: 0 / 0.7703 GB, free: 14.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001964/0.346, allocations: 12 kB / 0.7703 GB, free: 14.96 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 (4): * Single equations (assignments): 3 * 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.0003405/0.3463, allocations: 0.6281 MB / 0.771 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3465, allocations: 35.92 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3465, allocations: 0 / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.212e-05/0.3465, allocations: 12 kB / 0.771 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.3467, allocations: 6.75 kB / 0.771 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008987/0.3476, allocations: 1.168 MB / 0.7722 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001977/0.3478, allocations: 0.6807 MB / 0.7728 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.3478, allocations: 8.25 kB / 0.7728 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.3478, allocations: 15.42 kB / 0.7728 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3479, allocations: 0 / 0.7728 GB, free: 12.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.3632, allocations: 1.779 MB / 0.7746 GB, free: 10.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.575/6.939, allocations: 10.08 kB / 0.7746 GB, free: 10.65 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)