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.00459/0.00459, allocations: 101 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.001264/0.001264, allocations: 193.6 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.381/1.381, 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.002527/0.002527, allocations: 285 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.182/1.182, allocations: 178.5 MB / 0.5074 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002679/0.002679, allocations: 95.84 kB / 0.6943 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3758, allocations: 89.12 MB / 0.7814 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002053/0.3779, allocations: 1.461 MB / 0.7828 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004179/0.3783, allocations: 197.1 kB / 0.783 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.511e-05/0.3784, allocations: 1.438 kB / 0.783 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.3784, allocations: 3.938 kB / 0.783 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.3786, allocations: 25.28 kB / 0.783 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.3788, allocations: 62.38 kB / 0.7831 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.888e-05/0.3789, allocations: 48.64 kB / 0.7831 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.551e-05/0.379, allocations: 11.58 kB / 0.7831 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.379, allocations: 27.28 kB / 0.7831 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.3791, allocations: 21.95 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.3792, allocations: 5.281 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.612e-05/0.3792, allocations: 4.094 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3792, allocations: 10.36 kB / 0.7832 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.3793, allocations: 26.77 kB / 0.7832 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.3794, allocations: 48.7 kB / 0.7833 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3794, allocations: 3.984 kB / 0.7833 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3794, allocations: 1.156 kB / 0.7833 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.3794, allocations: 0 / 0.7833 GB, free: 15.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005386/0.3799, allocations: 354.8 kB / 0.7836 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.38, allocations: 9.031 kB / 0.7836 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.38, allocations: 33.12 kB / 0.7836 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.988e-05/0.3801, allocations: 7.516 kB / 0.7836 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.3802, allocations: 171.3 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.3802, allocations: 1.219 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.3803, allocations: 2.906 kB / 0.7838 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3804, allocations: 74.59 kB / 0.7839 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.3804, allocations: 7.938 kB / 0.7839 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.3805, allocations: 5.312 kB / 0.7839 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.3805, allocations: 0 / 0.7839 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.881e-05/0.3805, allocations: 21.69 kB / 0.7839 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.3809, allocations: 280.6 kB / 0.7842 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.846e-05/0.381, allocations: 38.97 kB / 0.7842 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.834e-05/0.3811, allocations: 20.39 kB / 0.7842 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.3811, allocations: 0 / 0.7842 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.3812, allocations: 63.45 kB / 0.7843 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3812, allocations: 0 / 0.7843 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002053/0.3814, allocations: 73.98 kB / 0.7844 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.3815, allocations: 104.1 kB / 0.7845 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.3816, allocations: 105.2 kB / 0.7846 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.3817, allocations: 30.98 kB / 0.7846 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.3817, allocations: 89.44 kB / 0.7847 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.3817, allocations: 10.62 kB / 0.7847 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.3818, allocations: 19.03 kB / 0.7847 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3819, allocations: 324.2 kB / 0.785 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.382, allocations: 8.969 kB / 0.785 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.382, allocations: 33.09 kB / 0.7851 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.477e-05/0.3821, allocations: 32.3 kB / 0.7851 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3821, allocations: 0 / 0.7851 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001062/0.3822, allocations: 72.45 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.3822, allocations: 5.438 kB / 0.7852 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3822, allocations: 3.984 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.3823, allocations: 1.344 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.79e-05/0.3823, allocations: 4.375 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3823, allocations: 1.406 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3824, allocations: 9.672 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3825, allocations: 1.438 kB / 0.7852 GB, free: 13.62 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 (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.819e-05/0.3826, allocations: 124.2 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.3826, allocations: 2.531 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.691e-05/0.3826, allocations: 4.688 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3826, allocations: 1.375 kB / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3826, allocations: 0 / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.3826, allocations: 0 / 0.7853 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3828, allocations: 173.7 kB / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3828, allocations: 1.312 kB / 0.7855 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.3828, allocations: 6.688 kB / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3828, allocations: 4 kB / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3828, allocations: 1.438 kB / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3828, allocations: 0 / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3828, allocations: 0 / 0.7855 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.383, allocations: 95.59 kB / 0.7856 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.3831, allocations: 87.88 kB / 0.7857 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3831, allocations: 5.031 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3832, allocations: 9.484 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.3833, allocations: 6.219 kB / 0.7857 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.3833, allocations: 5.359 kB / 0.7857 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.215e-05/0.3833, allocations: 88.36 kB / 0.7858 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3833, allocations: 0 / 0.7858 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000194/0.3835, allocations: 14.78 kB / 0.7858 GB, free: 12.98 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 (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.0004762/0.384, allocations: 0.6423 MB / 0.7864 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001153/0.3841, allocations: 29.98 kB / 0.7864 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3841, allocations: 0 / 0.7864 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.309e-05/0.3842, allocations: 17.69 kB / 0.7865 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.3843, allocations: 7.219 kB / 0.7865 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.3855, allocations: 1.178 MB / 0.7876 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3858, allocations: 0.6796 MB / 0.7883 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.3858, allocations: 5.469 kB / 0.7883 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.349e-05/0.3859, allocations: 14.03 kB / 0.7883 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.3859, allocations: 0 / 0.7883 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.4072, allocations: 1.804 MB / 0.7901 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.621/8.028, allocations: 13.98 kB / 0.7901 GB, free: 9.508 MB / 0.5606 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)