Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_10_Buildings_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.004582/0.004582, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.001058/0.001058, allocations: 196.3 kB / 16.67 MB, free: 5.973 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.44/2.44, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 67.89 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6919/0.6932, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002318/0.6956, allocations: 1.464 MB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003865/0.696, allocations: 187.4 kB / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.696, allocations: 0 / 1.168 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.858e-05/0.6961, allocations: 7.922 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.6963, allocations: 19.86 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.6965, allocations: 61.41 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.6966, allocations: 59.78 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.27e-05/0.6966, allocations: 4 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.6967, allocations: 31.92 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.835e-05/0.6968, allocations: 19.91 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.143e-05/0.6968, allocations: 4 kB / 1.168 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.6968, allocations: 4 kB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.6969, allocations: 19.86 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.77e-05/0.6969, allocations: 23.92 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.697, allocations: 47.66 kB / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.697, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/0.697, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.697, allocations: 0 / 1.168 GB, free: 1.812 MB / 0.8887 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.0004798/0.6975, allocations: 359.2 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6976, allocations: 8.031 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.248e-05/0.6976, allocations: 34.73 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.6976, allocations: 4.938 kB / 1.168 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6978, allocations: 168.4 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.6978, allocations: 384 / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.6978, allocations: 4.375 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.6979, allocations: 76.75 kB / 1.169 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.698, allocations: 3.938 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.698, allocations: 0 / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.698, allocations: 4 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.698, allocations: 19.98 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003328/0.6984, allocations: 272.8 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.691e-05/0.6985, allocations: 50.48 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.6985, allocations: 16.86 kB / 1.169 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.6985, allocations: 4.078 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.6987, allocations: 67.38 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.6987, allocations: 3.938 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001974/0.6989, allocations: 69.62 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.569e-05/0.699, allocations: 102.8 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.76e-05/0.6991, allocations: 109.8 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.6991, allocations: 29.7 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.094e-05/0.6991, allocations: 88.09 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.6992, allocations: 7.938 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.6992, allocations: 21.72 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.6993, allocations: 318.8 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.6994, allocations: 12 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.6994, allocations: 38.56 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.071e-05/0.6995, allocations: 29.23 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6995, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.686e-05/0.6996, allocations: 65.58 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.6996, allocations: 7.938 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.6996, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.6996, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.6997, allocations: 4 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.6997, allocations: 7.984 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.6998, allocations: 12.03 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.6998, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 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 7.974e-05/0.6999, allocations: 117.8 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.7, allocations: 4 kB / 1.17 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.175e-05/0.7, allocations: 7.5 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.7, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.7, allocations: 0 / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.7001, allocations: 173.6 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7001, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.7002, allocations: 7.938 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7002, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.7002, allocations: 4 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7002, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7002, allocations: 0 / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.7003, allocations: 96.94 kB / 1.17 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.7004, allocations: 85.09 kB / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.7004, allocations: 0 / 1.17 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.7005, allocations: 19.98 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.7005, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.7006, allocations: 8.062 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.7006, allocations: 87.27 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7006, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001964/0.7008, allocations: 11.94 kB / 1.171 GB, free: 14.85 MB / 0.9044 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.0003621/0.7012, allocations: 0.6399 MB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001073/0.7013, allocations: 31.98 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7013, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.043e-05/0.7014, allocations: 19.94 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.7015, allocations: 4 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.7025, allocations: 1.168 MB / 1.172 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.7027, allocations: 0.6807 MB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.7027, allocations: 8 kB / 1.173 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.7028, allocations: 11.44 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.7028, allocations: 0 / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01571/0.7185, allocations: 1.793 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/8.142, allocations: 2.844 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)