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.001186/0.001186, allocations: 103.2 kB / 16.27 MB, free: 5.98 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.001157/0.001157, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.2/1.2, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6806/0.6806, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.88 kB / 0.4912 GB, free: 7.363 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2773, allocations: 77.92 MB / 0.5673 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime): time 0.003018/0.2804, allocations: 1.438 MB / 0.5687 GB, free: 31.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004414/0.2809, allocations: 189.8 kB / 0.5689 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.2809, allocations: 0 / 0.5689 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.281, allocations: 10.12 kB / 0.5689 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.2812, allocations: 26.41 kB / 0.5689 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.2814, allocations: 55.42 kB / 0.569 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.409e-05/0.2816, allocations: 51.17 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.2816, allocations: 5.578 kB / 0.569 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.014e-05/0.2817, allocations: 35.83 kB / 0.5691 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.2818, allocations: 19.88 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.2818, allocations: 4.625 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.913e-05/0.2819, allocations: 5.625 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.2819, allocations: 9.359 kB / 0.5691 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.282, allocations: 26.56 kB / 0.5691 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001022/0.2821, allocations: 49.2 kB / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2821, allocations: 0 / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2821, allocations: 0 / 0.5692 GB, free: 31.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.2821, allocations: 0.875 kB / 0.5692 GB, free: 31.4 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.0004734/0.2826, allocations: 353.7 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.2826, allocations: 9.938 kB / 0.5695 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.2827, allocations: 32.36 kB / 0.5695 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.2827, allocations: 8.281 kB / 0.5695 GB, free: 30.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.19e-05/0.2828, allocations: 171.5 kB / 0.5697 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2828, allocations: 2.344 kB / 0.5697 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.527e-05/0.2829, allocations: 2.531 kB / 0.5697 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.283, allocations: 74.06 kB / 0.5698 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.283, allocations: 14.03 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2831, allocations: 0 / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2831, allocations: 2.875 kB / 0.5698 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.2831, allocations: 23.81 kB / 0.5698 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.2835, allocations: 284.5 kB / 0.5701 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.2836, allocations: 37.88 kB / 0.5701 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.053e-05/0.2836, allocations: 18.2 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.2837, allocations: 1.797 kB / 0.5702 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.2838, allocations: 67.39 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.2838, allocations: 1.188 kB / 0.5702 GB, free: 30.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002277/0.2841, allocations: 74.27 kB / 0.5703 GB, free: 30.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2841, allocations: 106.2 kB / 0.5704 GB, free: 30.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.2842, allocations: 104.5 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.2e-05/0.2842, allocations: 25.7 kB / 0.5705 GB, free: 30 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.2842, allocations: 87.81 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2843, allocations: 9.875 kB / 0.5706 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-05/0.2843, allocations: 25.45 kB / 0.5706 GB, free: 29.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.2844, allocations: 320.8 kB / 0.5709 GB, free: 29.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.2844, allocations: 7.828 kB / 0.5709 GB, free: 29.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.057e-05/0.2845, allocations: 37.19 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.2846, allocations: 28.25 kB / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2846, allocations: 0 / 0.571 GB, free: 29.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001312/0.2847, allocations: 57.09 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.2847, allocations: 5.297 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.2847, allocations: 1.156 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2848, allocations: 0.625 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.467e-05/0.2848, allocations: 7.172 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2849, allocations: 2.531 kB / 0.5711 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.285, allocations: 11.84 kB / 0.5711 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.285, allocations: 1.703 kB / 0.5711 GB, free: 29.47 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 6.207e-05/0.2851, allocations: 120.6 kB / 0.5712 GB, free: 29.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.2851, allocations: 10.7 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.852e-05/0.2851, allocations: 4.844 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2852, allocations: 2.031 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2852, allocations: 3.938 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2852, allocations: 2.516 kB / 0.5712 GB, free: 29.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000101/0.2853, allocations: 172.2 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2853, allocations: 2.344 kB / 0.5714 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.691e-05/0.2853, allocations: 6.828 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2853, allocations: 1.031 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2854, allocations: 2.859 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2854, allocations: 3.938 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2854, allocations: 1.906 kB / 0.5714 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.2855, allocations: 90.31 kB / 0.5715 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.2856, allocations: 87.94 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.2856, allocations: 6.047 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2858, allocations: 9.25 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/0.2858, allocations: 7.875 kB / 0.5716 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.2858, allocations: 9.375 kB / 0.5716 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.2859, allocations: 85.52 kB / 0.5717 GB, free: 28.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2859, allocations: 0 / 0.5717 GB, free: 28.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003135/0.2862, allocations: 14.5 kB / 0.5717 GB, free: 28.86 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.0003264/0.2865, allocations: 0.6273 MB / 0.5723 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.2867, allocations: 33.09 kB / 0.5724 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2867, allocations: 1.688 kB / 0.5724 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.043e-05/0.2868, allocations: 16.2 kB / 0.5724 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.287, allocations: 3.531 kB / 0.5724 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009613/0.2879, allocations: 1.16 MB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.316e-05/0.288, allocations: 0.6806 MB / 0.5742 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.2881, allocations: 7.531 kB / 0.5742 GB, free: 26.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.2881, allocations: 15.64 kB / 0.5742 GB, free: 26.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2882, allocations: 3.938 kB / 0.5742 GB, free: 26.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3638/0.6519, allocations: 1.738 MB / 0.5759 GB, free: 26.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.689, allocations: 7.781 kB / 0.5759 GB, free: 26.09 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime_fmu --startTime=0 --stopTime=7.776e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)