Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.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.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",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.004884/0.004884, allocations: 99.75 kB / 15.73 MB, free: 6.043 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.001292/0.001292, allocations: 192.3 kB / 16.67 MB, free: 5.953 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 291.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.9978/0.9978, allocations: 169.3 MB / 0.4983 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 99.84 kB / 0.681 GB, free: 7.469 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3705, allocations: 86.97 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002561/0.3731, allocations: 1.461 MB / 0.7674 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004218/0.3735, allocations: 193.2 kB / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.836e-05/0.3736, allocations: 0 / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.3736, allocations: 0 / 0.7675 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.3738, allocations: 30.34 kB / 0.7676 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.374, allocations: 55.86 kB / 0.7676 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.3741, allocations: 55.83 kB / 0.7677 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.041e-05/0.3742, allocations: 11.66 kB / 0.7677 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.685e-05/0.3743, allocations: 27.92 kB / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.3744, allocations: 19.92 kB / 0.7677 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.3744, allocations: 4 kB / 0.7677 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.605e-05/0.3744, allocations: 4 kB / 0.7677 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.3744, allocations: 11.97 kB / 0.7678 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.3745, allocations: 23.92 kB / 0.7678 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.3746, allocations: 43.86 kB / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3746, allocations: 0 / 0.7678 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3746, allocations: 7.938 kB / 0.7678 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.3746, allocations: 0 / 0.7678 GB, free: 1.93 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.0005376/0.3752, allocations: 359.5 kB / 0.7682 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3752, allocations: 8.031 kB / 0.7682 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.3753, allocations: 38.69 kB / 0.7682 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3753, allocations: 4.891 kB / 0.7682 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3755, allocations: 168.4 kB / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3755, allocations: 384 / 0.7684 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.3755, allocations: 4.375 kB / 0.7684 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3757, allocations: 76.8 kB / 0.7685 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3757, allocations: 3.938 kB / 0.7685 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.3757, allocations: 8 kB / 0.7685 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3757, allocations: 0 / 0.7685 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.682e-05/0.3758, allocations: 19.92 kB / 0.7685 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.3762, allocations: 276.8 kB / 0.7687 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.3763, allocations: 38.58 kB / 0.7688 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.3763, allocations: 20.94 kB / 0.7688 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.3764, allocations: 3.938 kB / 0.7688 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.3765, allocations: 63.39 kB / 0.7689 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3765, allocations: 0 / 0.7689 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0002097/0.3767, allocations: 69.67 kB / 0.7689 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/0.3768, allocations: 106.8 kB / 0.769 GB, free: 488 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.3769, allocations: 109.8 kB / 0.7691 GB, free: 368 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.377, allocations: 33.64 kB / 0.7692 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.377, allocations: 88.08 kB / 0.7693 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.377, allocations: 7.953 kB / 0.7693 GB, free: 228 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.3771, allocations: 21.7 kB / 0.7693 GB, free: 200 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3773, allocations: 318.8 kB / 0.7696 GB, free: 15.88 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.067e-05/0.3773, allocations: 12 kB / 0.7696 GB, free: 15.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.3774, allocations: 34.94 kB / 0.7696 GB, free: 15.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/0.3774, allocations: 28.86 kB / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3774, allocations: 0 / 0.7697 GB, free: 15.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001103/0.3775, allocations: 61.69 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3776, allocations: 4 kB / 0.7697 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3776, allocations: 7.875 kB / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3776, allocations: 0 / 0.7697 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.3777, allocations: 11.98 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.3777, allocations: 0 / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.3778, allocations: 18.31 kB / 0.7698 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3778, allocations: 4 kB / 0.7698 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 9.627e-05/0.3779, allocations: 116.2 kB / 0.7699 GB, free: 15.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.3779, allocations: 4 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.725e-05/0.378, allocations: 3.5 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.378, allocations: 0 / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.378, allocations: 4 kB / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.378, allocations: 0 / 0.7699 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3782, allocations: 177.6 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3782, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.36e-05/0.3782, allocations: 8 kB / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3782, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3782, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3782, allocations: 0 / 0.7701 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3782, allocations: 3.984 kB / 0.7701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.3784, allocations: 97.14 kB / 0.7702 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.714e-05/0.3785, allocations: 93.06 kB / 0.7702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.3785, allocations: 4 kB / 0.7703 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3786, allocations: 16.05 kB / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.3786, allocations: 0 / 0.7703 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3787, allocations: 7.984 kB / 0.7703 GB, free: 15.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.18e-05/0.3787, allocations: 83.28 kB / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3787, allocations: 0 / 0.7704 GB, free: 14.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001955/0.3789, allocations: 12 kB / 0.7704 GB, free: 14.97 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.0004784/0.3794, allocations: 0.6396 MB / 0.771 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.3795, allocations: 27.98 kB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3795, allocations: 0 / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.119e-05/0.3796, 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.0001461/0.3797, allocations: 9.609 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.001194/0.3809, allocations: 1.165 MB / 0.7722 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3813, allocations: 0.6807 MB / 0.7728 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.3813, allocations: 12.19 kB / 0.7729 GB, free: 12.28 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.3814, allocations: 15.42 kB / 0.7729 GB, free: 12.27 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3814, allocations: 0 / 0.7729 GB, free: 12.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/0.4034, allocations: 1.793 MB / 0.7746 GB, free: 10.66 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.217, allocations: 17.42 kB / 0.7746 GB, free: 10.65 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)