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.001201/0.001201, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.179/1.179, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.248/2.248, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4815, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002441/0.484, allocations: 1.462 MB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003782/0.4844, allocations: 187.4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.997e-05/0.4844, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.29e-05/0.4844, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.4847, allocations: 31.34 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.4848, allocations: 51.86 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.4849, allocations: 55.84 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.835e-05/0.485, allocations: 15.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.4851, allocations: 23.98 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.4851, allocations: 19.92 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.4852, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.4852, allocations: 4 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4852, allocations: 19.91 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.4853, allocations: 23.92 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.63e-05/0.4854, allocations: 46.11 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4854, allocations: 4 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4854, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4854, allocations: 0 / 1.019 GB, free: 0.6133 MB / 0.7637 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.0004536/0.4858, allocations: 353.3 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.4859, allocations: 12.03 kB / 1.02 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.207e-05/0.4859, allocations: 38.69 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.486, allocations: 8.844 kB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.4861, allocations: 160.4 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4861, allocations: 4.375 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4861, allocations: 384 / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.4862, allocations: 80.81 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4863, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4863, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.4863, allocations: 4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.4863, allocations: 23.92 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.4867, allocations: 284.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.4868, allocations: 38.58 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.199e-05/0.4868, allocations: 16.94 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.4868, allocations: 4 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.4869, allocations: 59.33 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.487, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000181/0.4871, allocations: 69.86 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4872, allocations: 106.8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.4873, allocations: 105.9 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4873, allocations: 25.7 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.4873, allocations: 95.97 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.4874, allocations: 11.84 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.4874, allocations: 21.7 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.499e-05/0.4875, allocations: 318.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.715e-05/0.4875, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.4876, allocations: 38.56 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.4876, allocations: 24.86 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.4876, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.78e-05/0.4877, allocations: 57.69 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4878, allocations: 8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.4878, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.4878, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.4879, allocations: 11.92 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.4879, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.488, allocations: 19.92 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.488, allocations: 448 / 1.021 GB, free: 14.36 MB / 0.7794 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.293e-05/0.4881, allocations: 117.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.4881, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.4881, allocations: 7.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4881, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4881, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.4881, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.4882, allocations: 173.6 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4883, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.193e-05/0.4883, allocations: 4 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.4883, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.4883, allocations: 0 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.888e-06/0.4883, allocations: 7.984 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4883, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.4884, allocations: 89 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.4885, allocations: 96.94 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4885, allocations: 7.938 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.4886, allocations: 10.17 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.951e-05/0.4887, allocations: 7.984 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4887, allocations: 0 / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.4887, allocations: 91.22 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.4887, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001811/0.4889, allocations: 8 kB / 1.022 GB, free: 13.65 MB / 0.7794 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.000344/0.4893, allocations: 0.6358 MB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.4894, allocations: 31.98 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4894, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.999e-05/0.4894, allocations: 19.97 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.4896, allocations: 4 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009211/0.4905, allocations: 1.172 MB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.4907, allocations: 0.6831 MB / 1.024 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.4907, allocations: 4 kB / 1.024 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.4908, allocations: 11.44 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.4908, allocations: 0 / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.5146, allocations: 1.766 MB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.667, allocations: 4.656 kB / 1.026 GB, free: 9.355 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)