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.001126/0.001126, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008177/0.008177, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.364/2.364, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000336/0.0003361, allocations: 11.09 kB / 0.9029 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2401, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.001262/0.2414, allocations: 1.19 MB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003058/0.2417, allocations: 183.5 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.999e-05/0.2417, allocations: 0 / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.615e-06/0.2418, allocations: 0 / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2419, allocations: 15.92 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.242, allocations: 59.8 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.585e-05/0.2421, allocations: 55.78 kB / 1.06 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.996e-05/0.2422, allocations: 8 kB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.2422, allocations: 23.97 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.2423, allocations: 15.92 kB / 1.06 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2423, allocations: 4 kB / 1.06 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.128e-05/0.2423, allocations: 7.938 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.96e-05/0.2423, allocations: 11.92 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.2424, allocations: 49.61 kB / 1.06 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.057e-05/0.2425, allocations: 44.09 kB / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.2425, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2425, allocations: 0 / 1.06 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.434e-06/0.2425, allocations: 0 / 1.06 GB, free: 3.199 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.0003824/0.2429, allocations: 339.5 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.2429, allocations: 8.031 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.692e-05/0.2429, allocations: 38.75 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.243, allocations: 4.844 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2431, allocations: 176.4 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2431, allocations: 4.312 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.2431, allocations: 8.375 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.2432, allocations: 76.8 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-06/0.2432, allocations: 3.938 kB / 1.061 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.2433, allocations: 4 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-06/0.2433, allocations: 0 / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.2433, allocations: 15.98 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.2436, allocations: 276.8 kB / 1.061 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/0.2437, allocations: 42.56 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.012e-05/0.2437, allocations: 16.86 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 5.46e-06/0.2437, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.2439, allocations: 59.48 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2439, allocations: 3.938 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001611/0.244, allocations: 73.67 kB / 1.061 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.2441, allocations: 110.8 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.073e-05/0.2442, allocations: 109.8 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2442, allocations: 25.7 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.2442, allocations: 84.05 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.2442, allocations: 15.84 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.2443, allocations: 13.7 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.336e-05/0.2444, allocations: 318.8 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.2444, allocations: 12 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-05/0.2444, allocations: 34.56 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.103e-05/0.2445, allocations: 28.8 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2445, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.733e-05/0.2446, allocations: 57.69 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.2446, allocations: 5.875 kB / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-06/0.2446, allocations: 0 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.56e-06/0.2446, allocations: 0 / 1.062 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.111e-05/0.2447, allocations: 19.92 kB / 1.062 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.2447, allocations: 3.984 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.2448, allocations: 12.47 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.2448, allocations: 3.984 kB / 1.062 GB, free: 0.9648 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.096e-05/0.2449, allocations: 121.7 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.2449, allocations: 3.906 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.552e-05/0.2449, allocations: 11.5 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.245, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.245, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.245, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2451, allocations: 173.6 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2451, allocations: 4 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.169e-05/0.2451, allocations: 4 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2451, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.559e-06/0.2451, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2451, allocations: 0 / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2451, allocations: 4 kB / 1.063 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.2453, allocations: 89.23 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.024e-05/0.2453, allocations: 97.03 kB / 1.063 GB, free: 380 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.2453, allocations: 7.938 kB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2454, allocations: 17.45 kB / 1.063 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.2455, allocations: 4 kB / 1.063 GB, free: 352 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.2455, allocations: 3.984 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.567e-05/0.2455, allocations: 83.28 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2455, allocations: 0 / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001763/0.2457, allocations: 12 kB / 1.063 GB, free: 252 kB / 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.0003407/0.2461, allocations: 0.6281 MB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.259e-05/0.2462, allocations: 35.92 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2462, allocations: 0 / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.317e-05/0.2462, allocations: 12 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2463, allocations: 5.828 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.2472, allocations: 1.186 MB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001874/0.2474, allocations: 0.677 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.967e-05/0.2474, allocations: 11.98 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.2475, allocations: 11.44 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of SimCode: time 1.503e-06/0.2475, allocations: 0 / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.236/0.4835, allocations: 1.562 MB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.4838, allocations: 251.4 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/2.306, allocations: 0 / 1.067 GB, free: 11.95 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)