Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",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.001051/0.001051, allocations: 105 kB / 16.27 MB, free: 5.953 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.00113/0.00113, allocations: 185.7 kB / 17.19 MB, free: 5.59 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.227/1.227, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7034/0.7034, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2754, allocations: 77.92 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.002107/0.2775, allocations: 1.442 MB / 0.5687 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003175/0.2779, allocations: 188.6 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.2779, allocations: 2.062 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.278, allocations: 5.016 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.2781, allocations: 28.91 kB / 0.5689 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001533/0.2783, allocations: 51.75 kB / 0.569 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.981e-05/0.2784, allocations: 56.12 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.2785, allocations: 16.31 kB / 0.569 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.716e-05/0.2785, allocations: 23.83 kB / 0.569 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.994e-05/0.2786, allocations: 23.05 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.2786, allocations: 3.812 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.2786, allocations: 5.125 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.244e-05/0.2786, allocations: 13.92 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.2787, allocations: 20.91 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.2788, allocations: 50.66 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2788, allocations: 2.656 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2788, allocations: 1.641 kB / 0.5692 GB, free: 31.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.2788, allocations: 0 / 0.5692 GB, free: 31.44 MB / 446.1 MB 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.0003664/0.2792, allocations: 351.8 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2792, allocations: 9.594 kB / 0.5695 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.486e-05/0.2792, allocations: 33.03 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.2793, allocations: 12.77 kB / 0.5696 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.246e-05/0.2794, allocations: 174.5 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2794, allocations: 1.719 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.2794, allocations: 3.625 kB / 0.5697 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.2795, allocations: 70.8 kB / 0.5698 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.2795, allocations: 9.156 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2795, allocations: 5.156 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2795, allocations: 1.062 kB / 0.5698 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.2796, allocations: 16.7 kB / 0.5698 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.2799, allocations: 281.2 kB / 0.5701 GB, free: 30.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.826e-05/0.2799, allocations: 39.47 kB / 0.5701 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.28, allocations: 16.2 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/0.28, allocations: 1.281 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.2801, allocations: 67.91 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.2801, allocations: 0.625 kB / 0.5702 GB, free: 30.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001738/0.2803, allocations: 70.22 kB / 0.5703 GB, free: 30.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.2803, allocations: 105.9 kB / 0.5704 GB, free: 30.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.004e-05/0.2804, allocations: 107.9 kB / 0.5705 GB, free: 30.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.2804, allocations: 32.39 kB / 0.5705 GB, free: 30.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.201e-05/0.2804, allocations: 82.25 kB / 0.5706 GB, free: 29.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.2805, allocations: 10.95 kB / 0.5706 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.2805, allocations: 23.19 kB / 0.5706 GB, free: 29.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.2805, allocations: 323.3 kB / 0.5709 GB, free: 29.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.633e-05/0.2806, allocations: 10.77 kB / 0.5709 GB, free: 29.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.2806, allocations: 36.36 kB / 0.571 GB, free: 29.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.2807, allocations: 25.59 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2807, allocations: 2.312 kB / 0.571 GB, free: 29.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.421e-05/0.2808, allocations: 54.55 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.2808, allocations: 6.203 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.2808, allocations: 4.656 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.2808, allocations: 0 / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.843e-05/0.2809, allocations: 12.95 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2809, allocations: 0 / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.281, allocations: 12.12 kB / 0.5711 GB, free: 29.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.281, allocations: 5.641 kB / 0.5711 GB, free: 29.51 MB / 446.1 MB 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 5.066e-05/0.2811, allocations: 119.7 kB / 0.5712 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.2811, allocations: 6.438 kB / 0.5712 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.2811, allocations: 6.156 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2811, allocations: 0 / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2811, allocations: 6.406 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.2811, allocations: 0.6562 kB / 0.5712 GB, free: 29.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.368e-05/0.2812, allocations: 172.3 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2812, allocations: 448 / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.2812, allocations: 4.766 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2812, allocations: 1.5 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2813, allocations: 5.234 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.2813, allocations: 1.859 kB / 0.5714 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2813, allocations: 4.766 kB / 0.5714 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001059/0.2814, allocations: 94.72 kB / 0.5715 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.652e-05/0.2814, allocations: 92.23 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.2815, allocations: 1.375 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.2816, allocations: 10.55 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.2816, allocations: 4.984 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.2816, allocations: 1 kB / 0.5716 GB, free: 28.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.753e-05/0.2816, allocations: 86.97 kB / 0.5717 GB, free: 28.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2816, allocations: 0 / 0.5717 GB, free: 28.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001907/0.2818, allocations: 15 kB / 0.5717 GB, free: 28.91 MB / 446.1 MB 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.000242/0.2821, allocations: 0.6298 MB / 0.5723 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.805e-05/0.2822, allocations: 33.45 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2822, allocations: 0 / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.2822, allocations: 17.34 kB / 0.5724 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.2824, allocations: 2.828 kB / 0.5724 GB, free: 28.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.2831, allocations: 1.171 MB / 0.5735 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.664e-05/0.2832, allocations: 0.6851 MB / 0.5742 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.2832, allocations: 6.703 kB / 0.5742 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.2833, allocations: 11.2 kB / 0.5742 GB, free: 26.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2833, allocations: 0 / 0.5742 GB, free: 26.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.3001, allocations: 1.753 MB / 0.5759 GB, free: 26.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.899/7.199, allocations: 14.8 kB / 0.5759 GB, free: 26.12 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.csv --start-time 4.71744e+07 --stop-time 1.26144e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31587.8 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)