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.003973/0.003973, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00102/0.00102, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.288/1.288, 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 10.1.1-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2536, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart): time 0.002613/0.2562, allocations: 1.456 MB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004176/0.2567, allocations: 195.3 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.2567, allocations: 0 / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.2568, allocations: 4 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002034/0.257, allocations: 27.84 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.2572, allocations: 55.84 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.2573, allocations: 55.84 kB / 1.168 GB, free: 5.508 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.217e-05/0.2574, allocations: 4 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.195e-05/0.2575, allocations: 31.91 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.006e-05/0.2575, allocations: 15.92 kB / 1.168 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2576, allocations: 8 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.399e-05/0.2576, allocations: 11.94 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.2576, allocations: 7.984 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.2577, allocations: 23.92 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.2578, allocations: 52.02 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2578, allocations: 0 / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2578, allocations: 0 / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.429e-06/0.2578, allocations: 0 / 1.168 GB, free: 5.355 MB / 0.92 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.0005309/0.2583, allocations: 355.3 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.2584, allocations: 8.031 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.2584, allocations: 38.75 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.2585, allocations: 4.922 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.2586, allocations: 176.3 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.2586, allocations: 384 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.2586, allocations: 4.375 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.2588, allocations: 68.81 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.2588, allocations: 3.938 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.2588, allocations: 8 kB / 1.169 GB, free: 4.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2588, allocations: 4 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.499e-05/0.2589, allocations: 19.92 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.2592, allocations: 272.8 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.064e-05/0.2593, allocations: 38.56 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.899e-05/0.2594, allocations: 16.86 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.151e-06/0.2594, allocations: 96 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.2596, allocations: 75.31 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.2596, allocations: 3.984 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0001919/0.2598, allocations: 65.69 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.2598, allocations: 106.8 kB / 1.169 GB, free: 3.895 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.26, allocations: 101.8 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.26, allocations: 29.7 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.26, allocations: 88.09 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.2601, allocations: 15.94 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.2601, allocations: 17.72 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2602, allocations: 322.8 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.398e-05/0.2602, allocations: 12 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.2603, allocations: 34.5 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.288e-05/0.2604, allocations: 25.23 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2604, allocations: 4 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001168/0.2605, allocations: 69.61 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2605, allocations: 4 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2605, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.2605, allocations: 0 / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.2606, allocations: 15.88 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2606, allocations: 7.969 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.2607, allocations: 8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.2608, allocations: 0 / 1.17 GB, free: 3.102 MB / 0.92 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.907e-05/0.2608, allocations: 121.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.2609, allocations: 8 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.038e-05/0.2609, allocations: 3.5 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2609, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2609, allocations: 0 / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.2609, allocations: 4 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.261, allocations: 177.5 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.261, allocations: 0 / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.2611, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.2611, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.2611, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2611, allocations: 0 / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2611, allocations: 4 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.2612, allocations: 100.9 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.2613, allocations: 81.09 kB / 1.17 GB, free: 2.508 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.2613, allocations: 8 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.2614, allocations: 7.984 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.444e-05/0.2615, allocations: 0 / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.2615, allocations: 4 kB / 1.171 GB, free: 2.488 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.247e-05/0.2616, allocations: 95.33 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2616, allocations: 0 / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001964/0.2618, allocations: 12 kB / 1.171 GB, free: 2.383 MB / 0.92 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.0004081/0.2622, allocations: 0.6358 MB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.2623, allocations: 31.92 kB / 1.171 GB, free: 1.684 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2623, allocations: 4 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.094e-05/0.2624, allocations: 12 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.2625, allocations: 4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.2635, allocations: 1.18 MB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2638, allocations: 0.6807 MB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.2638, allocations: 8.078 kB / 1.173 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.2638, allocations: 11.44 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.2638, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.2794, allocations: 1.796 MB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.499, allocations: 448 / 1.175 GB, free: 14.07 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimeNegativeStart.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimeNegativeStart.pipe 2>&1)