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.709/0.709, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000968/0.000968, allocations: 182.4 kB / 187.3 MB, free: 11.88 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.271/1.271, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0007772/0.0007772, allocations: 99.38 kB / 0.5124 GB, free: 24.18 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001653/0.001653, allocations: 270.1 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.017e-05/3.019e-05, allocations: 4 kB / 0.6835 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3349/0.3349, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1007/0.4356, allocations: 109.3 MB / 0.8711 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.4359, allocations: 75.95 kB / 0.8711 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006946/0.4428, allocations: 2.752 MB / 0.8738 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4428, allocations: 0 / 0.8738 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4428, allocations: 0 / 0.8738 GB, free: 12.43 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.0002983/0.4432, allocations: 338.4 kB / 0.8742 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4432, allocations: 15.97 kB / 0.8742 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.4432, allocations: 38.44 kB / 0.8742 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.4433, allocations: 4 kB / 0.8742 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.4434, allocations: 163 kB / 0.8744 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4434, allocations: 7.953 kB / 0.8744 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.4434, allocations: 3.938 kB / 0.8744 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.4435, allocations: 68.25 kB / 0.8744 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.4436, allocations: 0 / 0.8744 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.4436, allocations: 0 / 0.8744 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.4436, allocations: 3.312 kB / 0.8744 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.4436, allocations: 12 kB / 0.8745 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.4439, allocations: 268.8 kB / 0.8747 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.491e-05/0.444, allocations: 42.56 kB / 0.8748 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.444, allocations: 16.86 kB / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.4441, allocations: 4 kB / 0.8748 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.4442, allocations: 59.48 kB / 0.8748 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.4442, allocations: 0 / 0.8748 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001517/0.4443, allocations: 61.62 kB / 0.8749 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.4444, allocations: 106.8 kB / 0.875 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.4445, allocations: 101 kB / 0.8751 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.4445, allocations: 29.7 kB / 0.8751 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.023e-05/0.4446, allocations: 80.14 kB / 0.8752 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.4446, allocations: 19.75 kB / 0.8752 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-06/0.4446, allocations: 0 / 0.8752 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.4447, allocations: 315.4 kB / 0.8755 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.534e-05/0.4447, allocations: 12 kB / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.4448, allocations: 34.56 kB / 0.8756 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.982e-05/0.4448, allocations: 12.03 kB / 0.8756 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4448, allocations: 3.938 kB / 0.8756 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.636e-05/0.4449, allocations: 57.62 kB / 0.8756 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.4449, allocations: 8 kB / 0.8756 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.4449, allocations: 0 / 0.8756 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.445, allocations: 0 / 0.8756 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.445, allocations: 11.98 kB / 0.8756 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.445, allocations: 0 / 0.8756 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.321e-05/0.4451, allocations: 8 kB / 0.8757 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.4452, allocations: 8 kB / 0.8757 GB, free: 10.3 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 () * 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 6.066e-05/0.4452, allocations: 108.9 kB / 0.8758 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.498e-05/0.4452, allocations: 7.906 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.977e-05/0.4453, allocations: 7.5 kB / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.4453, allocations: 0 / 0.8758 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4453, allocations: 3.938 kB / 0.8758 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.4453, allocations: 4 kB / 0.8758 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.4454, allocations: 165.6 kB / 0.8759 GB, free: 9.957 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.4454, allocations: 7.969 kB / 0.876 GB, free: 9.949 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.4454, allocations: 12.38 kB / 0.876 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4454, allocations: 0 / 0.876 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4455, allocations: 8 kB / 0.876 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.4455, allocations: 4 kB / 0.876 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4455, allocations: 0 / 0.876 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.4456, allocations: 81.11 kB / 0.8761 GB, free: 9.828 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.4456, allocations: 92.97 kB / 0.8761 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.4457, allocations: 3.984 kB / 0.8761 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.23e-05/0.4458, allocations: 12 kB / 0.8762 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/0.4458, allocations: 7.984 kB / 0.8762 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.4458, allocations: 0 / 0.8762 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.4459, allocations: 83.28 kB / 0.8762 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4459, allocations: 0 / 0.8762 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001686/0.446, allocations: 16 kB / 0.8763 GB, free: 9.598 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) * 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.0003369/0.4464, allocations: 0.6358 MB / 0.8769 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.306e-05/0.4465, allocations: 31.98 kB / 0.8769 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4465, allocations: 4 kB / 0.8769 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.378e-05/0.4465, allocations: 19.88 kB / 0.8769 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.301e-05/0.4466, allocations: 7.938 kB / 0.8769 GB, free: 8.871 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002712/0.4469, allocations: 102.8 kB / 0.877 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001774/0.4471, allocations: 0.6848 MB / 0.8777 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.151e-05/0.4471, allocations: 8 kB / 0.8777 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.4472, allocations: 15.42 kB / 0.8777 GB, free: 8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.4472, allocations: 0 / 0.8777 GB, free: 8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01063/0.4578, allocations: 1.523 MB / 0.8792 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/0.4581, allocations: 208 kB / 0.8794 GB, free: 6.473 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.447/1.905, allocations: 0 / 0.8794 GB, free: 6.473 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)