Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.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.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime",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.001226/0.001226, allocations: 100.7 kB / 16.27 MB, free: 5.977 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.00118/0.00118, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.234/1.234, 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.7096/0.7096, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2821, allocations: 77.91 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.002167/0.2843, allocations: 1.444 MB / 0.5687 GB, free: 31.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003307/0.2846, allocations: 193.6 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.2847, allocations: 0 / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.337e-05/0.2847, allocations: 5.75 kB / 0.5689 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.2849, allocations: 20.88 kB / 0.5689 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.285, allocations: 53.56 kB / 0.569 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.2851, allocations: 60.7 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.2852, allocations: 6.594 kB / 0.569 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.2852, allocations: 22.66 kB / 0.569 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.33e-05/0.2853, allocations: 24.81 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.2853, allocations: 5.469 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.56e-05/0.2854, allocations: 4.438 kB / 0.5691 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.2854, allocations: 12.98 kB / 0.5691 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.2854, allocations: 18.22 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.528e-05/0.2855, allocations: 54.91 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2855, allocations: 1.75 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2855, allocations: 1.469 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.2856, allocations: 0 / 0.5692 GB, free: 31.46 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.0003792/0.2859, allocations: 347.6 kB / 0.5695 GB, free: 31.1 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.286, allocations: 14.97 kB / 0.5695 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.767e-05/0.286, allocations: 38.22 kB / 0.5695 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.894e-05/0.286, allocations: 7.125 kB / 0.5696 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.103e-05/0.2861, allocations: 169.1 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2861, allocations: 2.844 kB / 0.5697 GB, free: 30.85 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.2862, allocations: 6.406 kB / 0.5697 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.2863, allocations: 72.47 kB / 0.5698 GB, free: 30.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.2863, allocations: 7.875 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.2863, allocations: 1.844 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.2863, allocations: 2.297 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.903e-05/0.2864, allocations: 19.42 kB / 0.5698 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.2866, allocations: 284.6 kB / 0.5701 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.846e-05/0.2867, allocations: 39.47 kB / 0.5701 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.2867, allocations: 16.7 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.2868, allocations: 1.656 kB / 0.5701 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.2869, allocations: 64.28 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.953e-06/0.2869, allocations: 0.8438 kB / 0.5702 GB, free: 30.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001797/0.2871, allocations: 71.02 kB / 0.5703 GB, free: 30.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.2871, allocations: 108.6 kB / 0.5704 GB, free: 30.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.2872, allocations: 105 kB / 0.5705 GB, free: 30.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.2872, allocations: 27.58 kB / 0.5705 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.2872, allocations: 82.75 kB / 0.5706 GB, free: 29.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.2872, allocations: 14.64 kB / 0.5706 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.2873, allocations: 24.28 kB / 0.5706 GB, free: 29.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.405e-05/0.2873, allocations: 319.4 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.636e-05/0.2873, allocations: 9.031 kB / 0.5709 GB, free: 29.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.204e-05/0.2874, allocations: 44.3 kB / 0.571 GB, free: 29.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.2874, allocations: 26.73 kB / 0.571 GB, free: 29.58 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2874, allocations: 0 / 0.571 GB, free: 29.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.507e-05/0.2875, allocations: 55.94 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.2875, allocations: 5.25 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2876, allocations: 2.047 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.2876, allocations: 1.281 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.2876, allocations: 6.109 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2876, allocations: 0.5625 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2878, allocations: 10.16 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.2878, allocations: 2.188 kB / 0.5711 GB, free: 29.54 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.252e-05/0.2878, allocations: 123.3 kB / 0.5712 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.2879, allocations: 7.25 kB / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.714e-05/0.2879, allocations: 9.312 kB / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.2879, allocations: 1.094 kB / 0.5712 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.2879, allocations: 9.531 kB / 0.5712 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2879, allocations: 0 / 0.5712 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.581e-05/0.288, allocations: 172.8 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.288, allocations: 0.5 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.288, allocations: 9.859 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.288, allocations: 0 / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.288, allocations: 1.078 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.288, allocations: 2.438 kB / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.288, allocations: 0 / 0.5714 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.2881, allocations: 100.2 kB / 0.5715 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.489e-05/0.2882, allocations: 89.16 kB / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2882, allocations: 0 / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2883, allocations: 8.922 kB / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.668e-05/0.2884, allocations: 8.281 kB / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2884, allocations: 3.922 kB / 0.5716 GB, free: 29.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.613e-05/0.2884, allocations: 82.95 kB / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2884, allocations: 0 / 0.5717 GB, free: 28.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001881/0.2886, allocations: 17.75 kB / 0.5717 GB, free: 28.93 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.0002411/0.2888, allocations: 0.6281 MB / 0.5723 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.289, allocations: 34.67 kB / 0.5723 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.289, allocations: 0.5 kB / 0.5723 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.618e-05/0.289, allocations: 14.23 kB / 0.5724 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2892, allocations: 9.859 kB / 0.5724 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.2899, allocations: 1.168 MB / 0.5735 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.957e-05/0.29, allocations: 0.6807 MB / 0.5742 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.151e-05/0.29, allocations: 6.188 kB / 0.5742 GB, free: 26.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.29, allocations: 15.73 kB / 0.5742 GB, free: 26.47 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.29, allocations: 96 / 0.5742 GB, free: 26.47 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.3059, allocations: 1.738 MB / 0.5759 GB, free: 26.15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.044, allocations: 4.062 kB / 0.5759 GB, free: 26.15 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime_res.csv --start-time 0 --stop-time 7.776e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 31104 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)