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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8272/0.8272, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 183.1 kB / 191.5 MB, free: 5.754 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.1 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001072, allocations: 96.3 kB / 0.5187 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 267.3 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 14.28 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1456, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.2898, allocations: 109.3 MB / 0.8806 GB, free: 284 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.2902, allocations: 87.88 kB / 0.8806 GB, free: 196 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3019/0.5921, allocations: 2.74 MB / 0.8833 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5922, allocations: 0.75 kB / 0.8833 GB, free: 109.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.5922, allocations: 1.25 kB / 0.8833 GB, free: 109.4 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003158/0.5925, allocations: 355.1 kB / 0.8837 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.5925, allocations: 8.375 kB / 0.8837 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.168e-05/0.5926, allocations: 37.66 kB / 0.8837 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.5926, allocations: 3.906 kB / 0.8837 GB, free: 109 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.29e-05/0.5927, allocations: 173 kB / 0.8839 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.5927, allocations: 6.203 kB / 0.8839 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.5927, allocations: 0.8125 kB / 0.8839 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.5929, allocations: 74.34 kB / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.5929, allocations: 0 / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5929, allocations: 0 / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.5929, allocations: 3.281 kB / 0.8839 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.53e-05/0.5929, allocations: 11.81 kB / 0.884 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.5932, allocations: 268.3 kB / 0.8842 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.257e-05/0.5933, allocations: 40.16 kB / 0.8843 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.5933, allocations: 0 / 0.8843 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.5935, allocations: 61.19 kB / 0.8843 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.5935, allocations: 0 / 0.8843 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001984/0.5937, allocations: 79.34 kB / 0.8844 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.5937, allocations: 102.8 kB / 0.8845 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.744e-05/0.5938, allocations: 101.1 kB / 0.8846 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.5938, allocations: 29.7 kB / 0.8846 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.424e-05/0.5939, allocations: 82.3 kB / 0.8847 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.5939, allocations: 17.45 kB / 0.8847 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.5939, allocations: 0 / 0.8847 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 3.884e-05/0.5939, allocations: 318.7 kB / 0.885 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.594, allocations: 11.62 kB / 0.885 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/0.594, allocations: 32.09 kB / 0.885 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.594, allocations: 24.34 kB / 0.8851 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5941, allocations: 3.938 kB / 0.8851 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.463e-05/0.5941, allocations: 58.28 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.5942, allocations: 6.375 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5942, allocations: 4.562 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.5942, allocations: 0 / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.434e-05/0.5943, allocations: 5.75 kB / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5943, allocations: 0 / 0.8851 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-05/0.5944, allocations: 14.16 kB / 0.8852 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.5944, allocations: 6 kB / 0.8852 GB, free: 107.6 MB / 0.5417 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 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.5945, allocations: 117.9 kB / 0.8853 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.5945, allocations: 6.406 kB / 0.8853 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.915e-05/0.5945, allocations: 3.5 kB / 0.8853 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5945, allocations: 0 / 0.8853 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5945, allocations: 0.9375 kB / 0.8853 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.5945, allocations: 0 / 0.8853 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.496e-05/0.5946, allocations: 172.2 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5946, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.5946, allocations: 8.734 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.5946, allocations: 0 / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.5947, allocations: 5.438 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5947, allocations: 1.641 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5947, allocations: 1.25 kB / 0.8855 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.5948, allocations: 95.61 kB / 0.8856 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.5949, allocations: 90.27 kB / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.5949, allocations: 0 / 0.8856 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.871e-05/0.595, allocations: 15.83 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.595, allocations: 0 / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.595, allocations: 6.453 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.538e-05/0.5951, allocations: 84.72 kB / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5951, allocations: 0 / 0.8857 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001886/0.5953, allocations: 17.62 kB / 0.8858 GB, free: 107.1 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.5955, allocations: 0.6399 MB / 0.8864 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.585e-05/0.5956, allocations: 27.16 kB / 0.8864 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.5957, allocations: 0 / 0.8864 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.5957, allocations: 18.91 kB / 0.8864 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001024/0.5958, allocations: 0.8125 kB / 0.8864 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.5963, allocations: 405.6 kB / 0.8868 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.5964, allocations: 0.6843 MB / 0.8875 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.5965, allocations: 5 kB / 0.8875 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.5965, allocations: 11.25 kB / 0.8875 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.5965, allocations: 0 / 0.8875 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01102/0.6075, allocations: 1.531 MB / 0.889 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.6077, allocations: 232 kB / 0.8892 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.187, allocations: 0 / 0.8892 GB, free: 105 MB / 0.5417 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/linux/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)