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.005544/0.005544, allocations: 100.9 kB / 15.73 MB, free: 5.562 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.001176/0.001176, allocations: 195.2 kB / 16.67 MB, free: 5.504 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.281/1.281, 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.002112/0.002112, allocations: 290.5 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.9029/0.9029, allocations: 169.2 MB / 0.4983 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 95.84 kB / 0.681 GB, free: 7.434 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4543, allocations: 86.98 MB / 0.7659 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002359/0.4567, allocations: 1.448 MB / 0.7673 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003879/0.4571, allocations: 197.2 kB / 0.7675 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.4572, allocations: 4 kB / 0.7675 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.4572, allocations: 3.938 kB / 0.7675 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.4574, allocations: 26.72 kB / 0.7676 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001684/0.4576, allocations: 59.84 kB / 0.7676 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.4577, allocations: 51.91 kB / 0.7677 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.4577, allocations: 15.97 kB / 0.7677 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.703e-05/0.4578, allocations: 27.86 kB / 0.7677 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.268e-05/0.4579, allocations: 15.92 kB / 0.7677 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.4579, allocations: 8 kB / 0.7677 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.4579, allocations: 4 kB / 0.7677 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.4579, allocations: 15.97 kB / 0.7678 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.458, allocations: 19.94 kB / 0.7678 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.697e-05/0.4581, allocations: 43.86 kB / 0.7678 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.4581, allocations: 7.984 kB / 0.7678 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.22e-07/0.4581, allocations: 3.938 kB / 0.7678 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4581, allocations: 0 / 0.7678 GB, free: 1.898 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.0004543/0.4586, allocations: 355.3 kB / 0.7682 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4586, allocations: 8.031 kB / 0.7682 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.4586, allocations: 34.75 kB / 0.7682 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.4587, allocations: 8.844 kB / 0.7682 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.4588, allocations: 172.3 kB / 0.7684 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4588, allocations: 8.312 kB / 0.7684 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.4589, allocations: 384 / 0.7684 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.459, allocations: 76.81 kB / 0.7685 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.459, allocations: 7.938 kB / 0.7685 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.459, allocations: 0 / 0.7685 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-06/0.459, allocations: 0 / 0.7685 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.4591, allocations: 19.98 kB / 0.7685 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.4594, allocations: 272.8 kB / 0.7687 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.4595, allocations: 38.56 kB / 0.7688 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.4595, allocations: 16.86 kB / 0.7688 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.4596, allocations: 4 kB / 0.7688 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.4597, allocations: 63.39 kB / 0.7689 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4597, allocations: 3.938 kB / 0.7689 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001809/0.4599, allocations: 69.67 kB / 0.7689 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.46, allocations: 102.8 kB / 0.769 GB, free: 456 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.4601, allocations: 109.8 kB / 0.7691 GB, free: 336 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.4601, allocations: 25.7 kB / 0.7692 GB, free: 304 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.4601, allocations: 88.14 kB / 0.7692 GB, free: 212 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.4602, allocations: 15.8 kB / 0.7693 GB, free: 196 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-05/0.4602, allocations: 17.72 kB / 0.7693 GB, free: 172 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.4603, allocations: 322.8 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.4604, allocations: 8 kB / 0.7696 GB, free: 15.84 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.512e-05/0.4604, allocations: 34.56 kB / 0.7696 GB, free: 15.79 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.4605, allocations: 28.83 kB / 0.7697 GB, free: 15.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4605, allocations: 4 kB / 0.7697 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.137e-05/0.4606, allocations: 57.69 kB / 0.7697 GB, free: 15.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.4606, allocations: 8 kB / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.4606, allocations: 448 / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.4606, allocations: 0 / 0.7697 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.4607, allocations: 7.938 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.4607, allocations: 4 kB / 0.7697 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.4608, allocations: 11.98 kB / 0.7697 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4608, allocations: 0 / 0.7697 GB, free: 15.66 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 8.528e-05/0.4609, allocations: 132.1 kB / 0.7699 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.4609, allocations: 11.84 kB / 0.7699 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.535e-05/0.461, allocations: 3.5 kB / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.461, allocations: 0 / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.461, allocations: 0 / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.461, allocations: 192 / 0.7699 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.4611, allocations: 181.5 kB / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4611, allocations: 0 / 0.7701 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.4611, allocations: 4 kB / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4611, allocations: 3.984 kB / 0.7701 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4612, allocations: 8 kB / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4612, allocations: 0 / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4612, allocations: 0 / 0.7701 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.4613, allocations: 89.05 kB / 0.7702 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.4614, allocations: 89.09 kB / 0.7702 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.4614, allocations: 0 / 0.7702 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4615, allocations: 15.92 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.4615, allocations: 4 kB / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.4615, allocations: 0 / 0.7703 GB, free: 15.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.69e-05/0.4616, allocations: 91.27 kB / 0.7703 GB, free: 14.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4616, allocations: 0 / 0.7703 GB, free: 14.95 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001805/0.4618, allocations: 8 kB / 0.7704 GB, free: 14.94 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.0003952/0.4622, allocations: 0.6358 MB / 0.771 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.4623, allocations: 35.92 kB / 0.771 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4623, allocations: 0 / 0.771 GB, free: 14.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.539e-05/0.4624, allocations: 12 kB / 0.771 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.4625, allocations: 4 kB / 0.771 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4635, allocations: 1.173 MB / 0.7722 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.4638, allocations: 0.6768 MB / 0.7728 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.4638, allocations: 7.938 kB / 0.7728 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.4639, allocations: 18.39 kB / 0.7729 GB, free: 12.24 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.4639, allocations: 11.88 kB / 0.7729 GB, free: 12.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.4825, allocations: 1.815 MB / 0.7746 GB, free: 10.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.65, allocations: 13.42 kB / 0.7747 GB, free: 10.59 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)