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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0012/0.0012, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001208/0.001208, allocations: 192.5 kB / 16.14 MB, free: 6.711 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 / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.361/2.361, allocations: 461.9 MB / 0.7342 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.27 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2337, allocations: 157.4 MB / 1.052 GB, free: 8.258 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002344/0.2361, allocations: 1.523 MB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003556/0.2365, allocations: 195.4 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.137e-05/0.2365, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.72e-05/0.2365, allocations: 0 / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.2367, allocations: 15.92 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2369, allocations: 55.86 kB / 1.054 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.058e-05/0.237, allocations: 51.91 kB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.237, allocations: 7.938 kB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.791e-05/0.2371, allocations: 31.91 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.2372, allocations: 15.92 kB / 1.054 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.2372, allocations: 4 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.2372, allocations: 0 / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.2372, allocations: 11.98 kB / 1.054 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.255e-05/0.2373, allocations: 19.92 kB / 1.054 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.181e-05/0.2374, allocations: 48.08 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2374, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2374, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2374, allocations: 0 / 1.054 GB, free: 6.273 MB / 0.8106 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.0004321/0.2378, allocations: 347.4 kB / 1.054 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.2379, allocations: 12.03 kB / 1.054 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.012e-05/0.2379, allocations: 38.69 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.017e-05/0.2379, allocations: 8.922 kB / 1.055 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.238, allocations: 172.3 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2381, allocations: 384 / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.2381, allocations: 8.312 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2382, allocations: 76.81 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2382, allocations: 3.938 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.2382, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2382, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.2383, allocations: 19.98 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002969/0.2386, allocations: 276.8 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.617e-05/0.2387, allocations: 42.56 kB / 1.055 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.13e-05/0.2387, allocations: 16.86 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.891e-06/0.2388, allocations: 0 / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.2389, allocations: 63.47 kB / 1.055 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 2.285e-06/0.2389, allocations: 3.938 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.2391, allocations: 73.62 kB / 1.055 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.2391, allocations: 102.8 kB / 1.055 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.6e-05/0.2392, allocations: 113.8 kB / 1.055 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2392, allocations: 25.7 kB / 1.055 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.2393, allocations: 88.05 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.2393, allocations: 15.83 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.2394, allocations: 21.72 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.458e-05/0.2394, allocations: 318.8 kB / 1.056 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.2395, allocations: 8 kB / 1.056 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.2395, allocations: 42.56 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.758e-05/0.2396, allocations: 28.8 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2396, allocations: 0 / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.977e-05/0.2397, allocations: 57.59 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2397, allocations: 9.875 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2397, allocations: 3.984 kB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.2397, allocations: 0 / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.805e-05/0.2398, allocations: 4 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2398, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2399, allocations: 19.95 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2399, allocations: 0 / 1.056 GB, free: 4.023 MB / 0.8106 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.99e-05/0.24, allocations: 125.7 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.24, allocations: 4 kB / 1.056 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.24, allocations: 7.5 kB / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2401, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2401, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.2401, allocations: 0 / 1.056 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2402, allocations: 174 kB / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2402, allocations: 0 / 1.056 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.252e-05/0.2402, allocations: 12 kB / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2402, allocations: 0 / 1.056 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.2402, allocations: 4 kB / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2402, allocations: 0 / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2402, allocations: 0 / 1.056 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001175/0.2404, allocations: 92.95 kB / 1.056 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.2404, allocations: 85.09 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.2405, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.2406, allocations: 15.98 kB / 1.057 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.2406, allocations: 7.938 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.2406, allocations: 0 / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.784e-05/0.2406, allocations: 87.27 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2407, allocations: 0 / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001818/0.2408, allocations: 15.94 kB / 1.057 GB, free: 3.309 MB / 0.8106 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.0003483/0.2412, allocations: 0.6322 MB / 1.057 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.704e-05/0.2413, allocations: 31.92 kB / 1.057 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2413, allocations: 4 kB / 1.057 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.62e-05/0.2413, allocations: 12 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.2415, allocations: 8 kB / 1.057 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.2424, allocations: 1.178 MB / 1.058 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.2426, allocations: 0.6848 MB / 1.059 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.352e-05/0.2426, allocations: 4 kB / 1.059 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.151e-05/0.2427, allocations: 11.44 kB / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.2427, allocations: 0 / 1.059 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2315/0.4741, allocations: 1.626 MB / 1.061 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.4743, allocations: 248.1 kB / 1.061 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/2.127, allocations: 8 kB / 1.061 GB, free: 14.91 MB / 0.8262 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=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)