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.9263/0.9263, allocations: 141.8 MB / 149.3 MB, free: 9.215 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.001109/0.001109, allocations: 180.9 kB / 182.2 MB, free: 9.457 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.387/1.387, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.000836/0.000836, allocations: 88.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001668, allocations: 277.5 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.259e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.71 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4062, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1372/0.5434, allocations: 108.6 MB / 0.8635 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.5437, allocations: 83.89 kB / 0.8636 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007762/0.5515, allocations: 2.728 MB / 0.8663 GB, free: 364 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5515, allocations: 0 / 0.8663 GB, free: 364 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5515, allocations: 0 / 0.8663 GB, free: 364 kB / 0.5261 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.0003819/0.5519, allocations: 338.4 kB / 0.8666 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.552, allocations: 12.03 kB / 0.8666 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.552, allocations: 3.906 kB / 0.8666 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.5522, allocations: 167.1 kB / 0.8668 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.5522, allocations: 3.953 kB / 0.8668 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5522, allocations: 8 kB / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.173e-05/0.5523, allocations: 12 kB / 0.8668 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.5525, allocations: 76.17 kB / 0.8669 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5525, allocations: 0 / 0.8669 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.5525, allocations: 0 / 0.8669 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5525, allocations: 0 / 0.8669 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.5529, allocations: 241.5 kB / 0.8671 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.618e-05/0.553, allocations: 38.56 kB / 0.8671 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.553, allocations: 16.86 kB / 0.8671 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/0.553, allocations: 0 / 0.8671 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/0.5531, allocations: 63.42 kB / 0.8672 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.5532, allocations: 0 / 0.8672 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.5533, allocations: 53.69 kB / 0.8673 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.5534, allocations: 114.8 kB / 0.8674 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.5535, allocations: 96.98 kB / 0.8675 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.5535, allocations: 25.7 kB / 0.8675 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.257e-05/0.5535, allocations: 92.05 kB / 0.8676 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.605e-05/0.5535, allocations: 7.844 kB / 0.8676 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.5536, allocations: 0 / 0.8676 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.5537, allocations: 318.8 kB / 0.8679 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.5537, allocations: 8 kB / 0.8679 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.5537, allocations: 34.56 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.5538, allocations: 11.94 kB / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5538, allocations: 0 / 0.8679 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.82e-05/0.5539, allocations: 57.64 kB / 0.868 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.5539, allocations: 9.188 kB / 0.868 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.5539, allocations: 0 / 0.868 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.5539, allocations: 0 / 0.868 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.422e-05/0.554, allocations: 15.98 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.207e-06/0.554, allocations: 4.031 kB / 0.868 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.704e-05/0.5541, allocations: 8 kB / 0.868 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.5541, allocations: 0 / 0.868 GB, free: 14.32 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 7.568e-05/0.5542, allocations: 105 kB / 0.8681 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.929e-05/0.5543, allocations: 69.48 kB / 0.8682 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.5543, allocations: 4 kB / 0.8682 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.96e-05/0.5544, allocations: 4.125 kB / 0.8682 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5544, allocations: 0 / 0.8682 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5544, allocations: 4.438 kB / 0.8682 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5544, allocations: 4 kB / 0.8682 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.5545, allocations: 146.2 kB / 0.8683 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5545, allocations: 4 kB / 0.8683 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.5545, allocations: 4 kB / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5545, allocations: 0 / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.669e-06/0.5546, allocations: 4 kB / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.5546, allocations: 0 / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.5546, allocations: 0 / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.5547, allocations: 93.11 kB / 0.8684 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.5547, allocations: 93.02 kB / 0.8685 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.5548, allocations: 4 kB / 0.8685 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.5549, allocations: 4 kB / 0.8685 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.5549, allocations: 11.98 kB / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.5549, allocations: 0 / 0.8686 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.555, allocations: 79.28 kB / 0.8686 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.91e-07/0.555, allocations: 4 kB / 0.8686 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001921/0.5552, allocations: 20 kB / 0.8686 GB, free: 13.59 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.0003882/0.5556, allocations: 0.6207 MB / 0.8693 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.985e-05/0.5557, allocations: 35.92 kB / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5557, allocations: 0 / 0.8693 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-05/0.5557, allocations: 12 kB / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001101/0.5558, allocations: 7.938 kB / 0.8693 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.5562, allocations: 105.6 kB / 0.8694 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.5564, allocations: 0.6768 MB / 0.8701 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.609e-05/0.5565, allocations: 12 kB / 0.8701 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.5565, allocations: 11.42 kB / 0.8701 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.5565, allocations: 0 / 0.8701 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.5763, allocations: 1.183 MB / 0.8712 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.5766, allocations: 190.9 kB / 0.8714 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.409/1.985, allocations: 0 / 0.8714 GB, free: 10.69 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)