Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart,fileNamePrefix="Buildings_9_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.001174/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001122/0.001122, allocations: 195.8 kB / 16.14 MB, free: 6.648 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.162/1.162, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.022/2.022, allocations: 390.2 MB / 0.6643 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 64.12 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4751, allocations: 140.4 MB / 0.9491 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001937/0.4771, allocations: 1.522 MB / 0.9505 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002812/0.4774, allocations: 189.6 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.4774, allocations: 1.188 kB / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.604e-05/0.4775, allocations: 0 / 0.9507 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.4776, allocations: 13.05 kB / 0.9507 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.4778, allocations: 52.84 kB / 0.9508 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.023e-05/0.4778, allocations: 59.73 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/0.4779, allocations: 8.344 kB / 0.9508 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.141e-05/0.478, allocations: 26.61 kB / 0.9509 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.478, allocations: 18.14 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.478, allocations: 3.062 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.4781, allocations: 2.75 kB / 0.9509 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.4781, allocations: 10.09 kB / 0.9509 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.4781, allocations: 27.17 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.946e-05/0.4782, allocations: 47.8 kB / 0.951 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4782, allocations: 4 kB / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.02e-07/0.4782, allocations: 0 / 0.951 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.4782, allocations: 0 / 0.951 GB, free: 7.73 MB / 0.7169 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.0003632/0.4786, allocations: 348.7 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4786, allocations: 13.62 kB / 0.9513 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.546e-05/0.4786, allocations: 35.81 kB / 0.9514 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.808e-05/0.4787, allocations: 7.094 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.224e-05/0.4787, allocations: 163 kB / 0.9515 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.4788, allocations: 1.875 kB / 0.9515 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.4788, allocations: 10.55 kB / 0.9515 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.4789, allocations: 75.45 kB / 0.9516 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.4789, allocations: 3.938 kB / 0.9516 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4789, allocations: 5.266 kB / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.4789, allocations: 0 / 0.9516 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.479, allocations: 13.62 kB / 0.9516 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.4792, allocations: 288.4 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.081e-05/0.4793, allocations: 36.42 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.4793, allocations: 18.19 kB / 0.952 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.4793, allocations: 1.312 kB / 0.952 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.4795, allocations: 58.2 kB / 0.952 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.4795, allocations: 5.344 kB / 0.952 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.4796, allocations: 74.72 kB / 0.9521 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.4797, allocations: 104.2 kB / 0.9522 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.45e-05/0.4797, allocations: 108.8 kB / 0.9523 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.4797, allocations: 27.11 kB / 0.9523 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.134e-05/0.4798, allocations: 81.55 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.447e-05/0.4798, allocations: 13.25 kB / 0.9524 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.4798, allocations: 23.27 kB / 0.9524 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 2.969e-05/0.4798, allocations: 320.5 kB / 0.9527 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.662e-05/0.4799, allocations: 9.125 kB / 0.9527 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.4799, allocations: 36.8 kB / 0.9528 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.48, allocations: 32.53 kB / 0.9528 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.48, allocations: 4 kB / 0.9528 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.106e-05/0.4801, allocations: 60.06 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/0.4801, allocations: 5 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.4801, allocations: 1.406 kB / 0.9529 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.4801, allocations: 8.016 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.536e-05/0.4802, allocations: 5.656 kB / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4802, allocations: 0 / 0.9529 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4803, allocations: 9.516 kB / 0.9529 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.4803, allocations: 1.5 kB / 0.9529 GB, free: 5.707 MB / 0.7169 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 4.967e-05/0.4803, allocations: 117.2 kB / 0.953 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.4804, allocations: 6.219 kB / 0.953 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.587e-05/0.4804, allocations: 4.531 kB / 0.953 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.4804, allocations: 5.062 kB / 0.953 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4804, allocations: 7.938 kB / 0.953 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4804, allocations: 3.984 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.713e-05/0.4805, allocations: 174.8 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4805, allocations: 0 / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.059e-05/0.4805, allocations: 3.531 kB / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.4805, allocations: 0 / 0.9532 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.4805, allocations: 5.359 kB / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4805, allocations: 0 / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4805, allocations: 0 / 0.9532 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.809e-05/0.4806, allocations: 91.69 kB / 0.9533 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.126e-05/0.4807, allocations: 95.25 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.4807, allocations: 1.188 kB / 0.9534 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.965e-05/0.4808, allocations: 9.078 kB / 0.9534 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.4808, allocations: 6.391 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.4808, allocations: 1.438 kB / 0.9534 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.528e-05/0.4809, allocations: 92.34 kB / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4809, allocations: 0 / 0.9535 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001805/0.4811, allocations: 19 kB / 0.9535 GB, free: 5.047 MB / 0.7169 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.0002301/0.4813, allocations: 0.6225 MB / 0.9541 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9e-05/0.4814, allocations: 34.36 kB / 0.9542 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4814, allocations: 0 / 0.9542 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.409e-05/0.4814, allocations: 20.92 kB / 0.9542 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.4816, allocations: 7.594 kB / 0.9542 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.4822, allocations: 1.171 MB / 0.9553 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.187e-05/0.4823, allocations: 0.6792 MB / 0.956 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.225e-05/0.4824, allocations: 5.156 kB / 0.956 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.4824, allocations: 14.89 kB / 0.956 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.4824, allocations: 96 / 0.956 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2118/0.6942, allocations: 1.619 MB / 0.9576 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001446/0.6944, allocations: 242.5 kB / 0.9578 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.174, allocations: 5.875 kB / 0.9578 GB, free: 1.504 MB / 0.7169 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart_fmu --startTime=-3.1536e+07 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)