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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00756/0.00756, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001873/0.001873, allocations: 198.7 kB / 16.67 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.697/2.697, allocations: 469.4 MB / 0.7421 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2611, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002384/0.2635, allocations: 1.445 MB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004052/0.2639, allocations: 183.4 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.264, allocations: 8 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.61e-05/0.264, allocations: 3.938 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002003/0.2642, allocations: 23.84 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2644, allocations: 62.72 kB / 1.221 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.04e-05/0.2645, allocations: 55.78 kB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.42e-05/0.2646, allocations: 11.98 kB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.377e-05/0.2647, allocations: 23.97 kB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.2648, allocations: 19.92 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.2648, allocations: 8 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.2648, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.2648, allocations: 15.92 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.2649, allocations: 19.92 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.265, allocations: 47.81 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.265, allocations: 3.984 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.265, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.265, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 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.0004777/0.2655, allocations: 351.3 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.2655, allocations: 16.03 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.2656, allocations: 30.75 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.204e-05/0.2656, allocations: 12.88 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2657, allocations: 176.2 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.2658, allocations: 4.375 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2658, allocations: 384 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.2659, allocations: 76.81 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.2659, allocations: 3.938 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2659, allocations: 4 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.266, allocations: 0 / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.266, allocations: 19.98 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.2663, allocations: 272.8 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.2665, allocations: 38.5 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.2665, allocations: 12.86 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.2665, allocations: 8 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.2667, allocations: 63.42 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2667, allocations: 0 / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001996/0.2669, allocations: 77.62 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.2669, allocations: 102.8 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.336e-05/0.267, allocations: 105.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.267, allocations: 29.7 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.2671, allocations: 92.08 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.2671, allocations: 11.94 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.2672, allocations: 17.72 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.2673, allocations: 322.8 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.98e-05/0.2673, allocations: 8 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.844e-05/0.2674, allocations: 38.5 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.361e-05/0.2674, allocations: 29.23 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2674, allocations: 4.031 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.2675, allocations: 61.64 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.2676, allocations: 8 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.2676, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/0.2676, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.357e-05/0.2677, allocations: 4 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.2677, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.2678, allocations: 13.86 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.2678, allocations: 7.922 kB / 1.224 GB, free: 10.41 MB / 0.9825 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.722e-05/0.2679, allocations: 126.3 kB / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.2679, allocations: 0 / 1.224 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.728e-05/0.268, allocations: 7.5 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.268, allocations: 192 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.268, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.268, allocations: 3.984 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2681, allocations: 181.5 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2681, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.2682, allocations: 4 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2682, allocations: 3.938 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.2682, allocations: 4 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2682, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2682, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.2683, allocations: 92.98 kB / 1.224 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/0.2684, allocations: 89.09 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.2684, allocations: 0 / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.2685, allocations: 7.984 kB / 1.224 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.643e-05/0.2686, allocations: 8.062 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.2686, allocations: 4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.381e-05/0.2686, allocations: 91.27 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2686, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001999/0.2689, allocations: 8 kB / 1.224 GB, free: 9.691 MB / 0.9825 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.0003932/0.2693, allocations: 0.6358 MB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.2694, allocations: 31.92 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2694, allocations: 0 / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.031e-05/0.2694, allocations: 16 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2696, allocations: 3.938 kB / 1.225 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2706, allocations: 1.184 MB / 1.226 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/0.2708, allocations: 0.6806 MB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.976e-05/0.2709, allocations: 8 kB / 1.227 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.443e-05/0.2709, allocations: 7.438 kB / 1.227 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2709, allocations: 4 kB / 1.227 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01643/0.2873, allocations: 1.809 MB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.232/7.52, allocations: 8.375 kB / 1.228 GB, free: 5.348 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart_res.csv --start-time -3.1536e+07 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25228.8 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)