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.0009968/0.0009968, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004628/0.004628, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.186/1.186, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001587/0.001587, allocations: 285.7 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8372/0.8372, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003602, allocations: 15.16 kB / 0.5988 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1206, allocations: 88.55 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001309/0.122, allocations: 1.178 MB / 0.6864 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003227/0.1223, allocations: 176.6 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.1223, allocations: 4.688 kB / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.256e-05/0.1224, allocations: 0 / 0.6866 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1225, allocations: 21.11 kB / 0.6866 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.1227, allocations: 60.09 kB / 0.6866 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.946e-05/0.1228, allocations: 55.78 kB / 0.6867 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.475e-05/0.1229, allocations: 8.969 kB / 0.6867 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.159e-05/0.1229, allocations: 21.58 kB / 0.6867 GB, free: 13.44 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.123, allocations: 19.91 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.123, allocations: 4 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-06/0.123, allocations: 0 / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.123, allocations: 15.92 kB / 0.6868 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.151e-05/0.1231, allocations: 50.53 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.458e-05/0.1231, allocations: 43.86 kB / 0.6868 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.1232, allocations: 3.469 kB / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1232, allocations: 0 / 0.6869 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.956e-06/0.1232, allocations: 0 / 0.6869 GB, free: 13.3 MB / 494.1 MB 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.0003846/0.1236, allocations: 347.4 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.1236, allocations: 8.031 kB / 0.6872 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.1236, allocations: 30.75 kB / 0.6872 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.1237, allocations: 4.938 kB / 0.6872 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.1238, allocations: 172.9 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1238, allocations: 1 kB / 0.6874 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1238, allocations: 4.375 kB / 0.6874 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1239, allocations: 75 kB / 0.6875 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.1239, allocations: 3.938 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.124, allocations: 4 kB / 0.6875 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.124, allocations: 4.5 kB / 0.6875 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.124, allocations: 15.98 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002763/0.1243, allocations: 270.3 kB / 0.6878 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.1244, allocations: 44.22 kB / 0.6878 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.1244, allocations: 16.86 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.1244, allocations: 0.6562 kB / 0.6878 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.1246, allocations: 65.52 kB / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1246, allocations: 0 / 0.6879 GB, free: 12.08 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001558/0.1247, allocations: 73.61 kB / 0.6879 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.1248, allocations: 105.3 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.1249, allocations: 105.8 kB / 0.6881 GB, free: 11.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1249, allocations: 33.64 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.1249, allocations: 95.97 kB / 0.6883 GB, free: 11.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.125, allocations: 3.906 kB / 0.6883 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.125, allocations: 21.7 kB / 0.6883 GB, free: 11.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.1251, allocations: 315.7 kB / 0.6886 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/0.1251, allocations: 8.531 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.367e-05/0.1252, allocations: 35.69 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.1252, allocations: 30.17 kB / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.1252, allocations: 0 / 0.6887 GB, free: 11.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.18e-05/0.1253, allocations: 61.62 kB / 0.6887 GB, free: 11.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.1253, allocations: 12.03 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1253, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/0.1253, allocations: 0 / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.086e-05/0.1254, allocations: 7.984 kB / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.1254, allocations: 0 / 0.6887 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/0.1255, allocations: 16.55 kB / 0.6888 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1255, allocations: 4 kB / 0.6888 GB, free: 11.09 MB / 494.1 MB 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 6.78e-05/0.1256, allocations: 118.4 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.1256, allocations: 4 kB / 0.6889 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.1256, allocations: 7.688 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1257, allocations: 7.938 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1257, allocations: 3.984 kB / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1257, allocations: 0 / 0.6889 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.863e-05/0.1258, allocations: 169.6 kB / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1258, allocations: 0 / 0.6891 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.1258, allocations: 4 kB / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1258, allocations: 0 / 0.6891 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1258, allocations: 7.938 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1258, allocations: 4 kB / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1258, allocations: 0 / 0.6891 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.126, allocations: 93.05 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.126, allocations: 85 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.126, allocations: 4 kB / 0.6892 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.707e-05/0.1261, allocations: 13.3 kB / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.103e-05/0.1262, allocations: 0 / 0.6893 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1262, allocations: 19.92 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.1262, allocations: 83.34 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1262, allocations: 0 / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001717/0.1264, allocations: 12 kB / 0.6894 GB, free: 10.37 MB / 494.1 MB 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.0003259/0.1267, allocations: 0.628 MB / 0.69 GB, free: 9.711 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.564e-05/0.1268, allocations: 35.98 kB / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1268, allocations: 0 / 0.69 GB, free: 9.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.381e-05/0.1269, allocations: 15.94 kB / 0.69 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.127, allocations: 8.734 kB / 0.69 GB, free: 9.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008598/0.1279, allocations: 1.175 MB / 0.6912 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.1281, allocations: 0.6809 MB / 0.6919 GB, free: 7.688 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.021e-05/0.1281, allocations: 8 kB / 0.6919 GB, free: 7.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.663e-05/0.1282, allocations: 11.53 kB / 0.6919 GB, free: 7.668 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1282, allocations: 3.938 kB / 0.6919 GB, free: 7.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3609/0.4891, allocations: 1.567 MB / 0.6934 GB, free: 6.324 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.4893, allocations: 259.1 kB / 0.6937 GB, free: 6.066 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.981, allocations: 6.953 kB / 0.6937 GB, free: 6.062 MB / 494.1 MB (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)