Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_latest_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.004708/0.004708, allocations: 101.1 kB / 15.73 MB, free: 6.023 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.001345/0.001345, allocations: 194.1 kB / 16.67 MB, free: 5.957 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.591/2.591, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 71.83 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2583, allocations: 162.3 MB / 1.242 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002284/0.2606, allocations: 1.447 MB / 1.243 GB, free: 8.352 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003826/0.261, allocations: 187.4 kB / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.322e-05/0.2611, allocations: 0 / 1.243 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.465e-05/0.2611, allocations: 3.938 kB / 1.243 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.2613, allocations: 19.86 kB / 1.244 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.2615, allocations: 51.92 kB / 1.244 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.2616, allocations: 63.77 kB / 1.244 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.965e-05/0.2617, allocations: 8 kB / 1.244 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.008e-05/0.2617, allocations: 19.98 kB / 1.244 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.039e-05/0.2618, allocations: 31.84 kB / 1.244 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.2618, allocations: 4 kB / 1.244 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.469e-05/0.2619, allocations: 4 kB / 1.244 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.486e-05/0.2619, allocations: 11.92 kB / 1.244 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2619, allocations: 23.92 kB / 1.244 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.719e-05/0.262, allocations: 47.8 kB / 1.244 GB, free: 7.883 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.262, allocations: 4 kB / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2621, allocations: 0 / 1.244 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.2621, allocations: 0 / 1.244 GB, free: 7.879 MB / 0.9981 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.0004683/0.2625, allocations: 355.4 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2626, allocations: 8.031 kB / 1.244 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.031e-05/0.2626, allocations: 38.75 kB / 1.244 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.2627, allocations: 4.891 kB / 1.244 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.2628, allocations: 164.4 kB / 1.244 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.2628, allocations: 4.375 kB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.118e-06/0.2628, allocations: 12.3 kB / 1.244 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.2629, allocations: 76.77 kB / 1.244 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.263, allocations: 3.938 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.263, allocations: 3.984 kB / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.263, allocations: 0 / 1.244 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.263, allocations: 16 kB / 1.244 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003231/0.2634, allocations: 276.8 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.863e-05/0.2635, allocations: 42.56 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.2635, allocations: 20.94 kB / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.2635, allocations: 0 / 1.245 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.2637, allocations: 67.33 kB / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2637, allocations: 0 / 1.245 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.2639, allocations: 73.61 kB / 1.245 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.264, allocations: 106.8 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.264, allocations: 109.8 kB / 1.245 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.2641, allocations: 25.7 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.672e-05/0.2641, allocations: 92.03 kB / 1.245 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2641, allocations: 11.94 kB / 1.245 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.2642, allocations: 21.7 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2643, allocations: 318.8 kB / 1.246 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.84e-05/0.2643, allocations: 8 kB / 1.246 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.2644, allocations: 38.56 kB / 1.246 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.344e-05/0.2645, allocations: 32.78 kB / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2645, allocations: 384 / 1.246 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.6e-05/0.2646, allocations: 61.66 kB / 1.246 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.2646, allocations: 4 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2646, allocations: 0 / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2646, allocations: 7.984 kB / 1.246 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.2647, allocations: 4 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.2647, allocations: 0 / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.2648, allocations: 12.02 kB / 1.246 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.2648, allocations: 8 kB / 1.246 GB, free: 5.621 MB / 0.9981 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 8.095e-05/0.2649, allocations: 113.8 kB / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.381e-05/0.2649, allocations: 0 / 1.246 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.2649, allocations: 11.44 kB / 1.246 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2649, allocations: 4 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.2649, allocations: 0 / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2649, allocations: 3.984 kB / 1.246 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2651, allocations: 169.6 kB / 1.246 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2651, allocations: 4 kB / 1.246 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.2651, allocations: 4 kB / 1.246 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2651, allocations: 3.938 kB / 1.246 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2651, allocations: 3.984 kB / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2651, allocations: 0 / 1.246 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2651, allocations: 3.938 kB / 1.246 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.2653, allocations: 93.02 kB / 1.246 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.2653, allocations: 81.09 kB / 1.246 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.2654, allocations: 8 kB / 1.246 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.2655, allocations: 11.98 kB / 1.246 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.2655, allocations: 7.984 kB / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2655, allocations: 0 / 1.246 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.2656, allocations: 91.28 kB / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.2656, allocations: 0 / 1.246 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001799/0.2658, allocations: 12 kB / 1.246 GB, free: 4.906 MB / 0.9981 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.0004014/0.2662, allocations: 0.6366 MB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.2663, allocations: 31.92 kB / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2663, allocations: 0 / 1.247 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.2663, allocations: 15.98 kB / 1.247 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2665, allocations: 12.72 kB / 1.247 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009818/0.2675, allocations: 1.168 MB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2677, allocations: 0.6807 MB / 1.249 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.2678, allocations: 11.98 kB / 1.249 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.316e-05/0.2678, allocations: 15.44 kB / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of SimCode: time 2e-07/0.2678, allocations: 0 / 1.249 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.77/1.038, allocations: 1.791 MB / 1.251 GB, free: 0.5898 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/11.56, allocations: 6.797 kB / 1.251 GB, free: 0.582 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)