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.005068/0.005068, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001412/0.001412, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.243/1.243, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.157/2.157, allocations: 437.1 MB / 0.7105 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 63.84 kB / 1.018 GB, free: 9.824 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5737, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.00213/0.5758, allocations: 1.459 MB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003715/0.5762, allocations: 183.4 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.5762, allocations: 0 / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.293e-05/0.5763, allocations: 7.922 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.5765, allocations: 23.86 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.5766, allocations: 61.66 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.5767, allocations: 59.78 kB / 1.168 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.156e-05/0.5768, allocations: 8 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.38e-05/0.5768, allocations: 31.84 kB / 1.168 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.203e-05/0.5769, allocations: 15.92 kB / 1.168 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.5769, allocations: 4 kB / 1.168 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.629e-05/0.577, allocations: 8 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.577, allocations: 11.98 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.577, allocations: 27.84 kB / 1.168 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.548e-05/0.5771, allocations: 47.67 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.5771, allocations: 4 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5771, allocations: 0 / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.5771, allocations: 0 / 1.168 GB, free: 1.793 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.00046/0.5776, allocations: 353.4 kB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.5776, allocations: 8.031 kB / 1.168 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.5777, allocations: 38.73 kB / 1.168 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.629e-05/0.5777, allocations: 8.938 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5778, allocations: 168.4 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5778, allocations: 384 / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.5779, allocations: 12.31 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.578, allocations: 76.8 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.578, allocations: 3.938 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.578, allocations: 0 / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.578, allocations: 4 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.799e-05/0.5781, allocations: 15.98 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.5784, allocations: 288.7 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.401e-05/0.5785, allocations: 34.58 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.375e-05/0.5785, allocations: 20.94 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.305e-06/0.5785, allocations: 0 / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.5787, allocations: 59.39 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.715e-06/0.5787, allocations: 0 / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001667/0.5788, allocations: 73.62 kB / 1.169 GB, free: 476 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.5789, allocations: 110.8 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.579, allocations: 101.9 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.579, allocations: 29.7 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.443e-05/0.5791, allocations: 92.02 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.384e-05/0.5791, allocations: 7.953 kB / 1.17 GB, free: 88 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5791, allocations: 25.7 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5793, allocations: 314.8 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.5793, allocations: 16 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.631e-05/0.5793, allocations: 30.56 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.5794, allocations: 28.8 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.5794, allocations: 3.938 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.626e-05/0.5795, allocations: 70.08 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.5795, allocations: 4 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.5795, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.345e-06/0.5795, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.39e-05/0.5796, allocations: 12.02 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.5796, allocations: 4 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.365e-05/0.5797, allocations: 7.984 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5797, allocations: 0 / 1.17 GB, free: 15.55 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 8.131e-05/0.5798, allocations: 121.7 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.403e-05/0.5798, allocations: 4 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.883e-05/0.5799, allocations: 7.5 kB / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.5799, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.5799, allocations: 0 / 1.17 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5799, allocations: 4 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.58, allocations: 173.6 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.58, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.58, allocations: 0 / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.58, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.5801, allocations: 4 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5801, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5801, allocations: 0 / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.5802, allocations: 97.17 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.498e-05/0.5803, allocations: 89.09 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.5803, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.5804, allocations: 11.98 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.5804, allocations: 3.938 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.5804, allocations: 8 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.5805, allocations: 83.27 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5805, allocations: 3.938 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001771/0.5807, allocations: 19.94 kB / 1.171 GB, free: 14.82 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.0003781/0.581, allocations: 0.6282 MB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5812, allocations: 39.92 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.5812, allocations: 0 / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.5812, allocations: 12 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.5813, allocations: 8 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009342/0.5823, allocations: 1.164 MB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.5825, allocations: 0.6846 MB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.98e-05/0.5826, allocations: 4 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.5826, allocations: 19.42 kB / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of SimCode: time 1.794e-06/0.5826, allocations: 0 / 1.173 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.58/3.162, allocations: 1.787 MB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/15.99, allocations: 10.94 kB / 1.175 GB, free: 10.52 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 & /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=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)