Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.0009922/0.0009923, allocations: 100.6 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.0009591/0.0009591, 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.221/1.221, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.08 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3095, allocations: 77.92 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002173/0.3117, allocations: 1.464 MB / 0.5687 GB, free: 31.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000578/0.3122, allocations: 469.3 kB / 0.5692 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.3123, allocations: 1.625 kB / 0.5692 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.3123, allocations: 4.641 kB / 0.5692 GB, free: 31.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.3125, allocations: 28.31 kB / 0.5692 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.172e-05/0.3126, allocations: 19.52 kB / 0.5692 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.814e-05/0.3127, allocations: 50 kB / 0.5693 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.332e-05/0.3128, allocations: 9.578 kB / 0.5693 GB, free: 31.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.3128, allocations: 20.38 kB / 0.5693 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.664e-05/0.3129, allocations: 26.14 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.3129, allocations: 4.281 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3129, allocations: 4.156 kB / 0.5693 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.313, allocations: 16.03 kB / 0.5693 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.313, allocations: 20.95 kB / 0.5694 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.838e-05/0.3131, allocations: 38.97 kB / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3131, allocations: 1.188 kB / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3131, allocations: 0.6875 kB / 0.5694 GB, free: 31.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.3131, allocations: 1.094 kB / 0.5694 GB, free: 31.39 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.0004265/0.3136, allocations: 363.8 kB / 0.5697 GB, free: 31.01 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.3136, allocations: 9.906 kB / 0.5698 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.359e-05/0.3136, allocations: 38.55 kB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.513e-05/0.3137, allocations: 3.562 kB / 0.5698 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.515e-05/0.3138, allocations: 178.1 kB / 0.57 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3138, allocations: 2.344 kB / 0.57 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.3138, allocations: 4.031 kB / 0.57 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.337e-05/0.3139, allocations: 55.88 kB / 0.57 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3139, allocations: 5.125 kB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.3139, allocations: 0 / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3139, allocations: 1.25 kB / 0.57 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.492e-05/0.314, allocations: 16.78 kB / 0.5701 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.3142, allocations: 277.5 kB / 0.5703 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.102e-05/0.3143, allocations: 46.39 kB / 0.5704 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.3144, allocations: 25.2 kB / 0.5704 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.3144, allocations: 6.5 kB / 0.5704 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.3146, allocations: 67.14 kB / 0.5705 GB, free: 30.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3146, allocations: 2.25 kB / 0.5705 GB, free: 30.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001865/0.3148, allocations: 80.52 kB / 0.5705 GB, free: 30.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.3148, allocations: 54.88 kB / 0.5706 GB, free: 30.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.989e-05/0.3149, allocations: 111.7 kB / 0.5707 GB, free: 30.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.3149, allocations: 30.83 kB / 0.5707 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.3149, allocations: 82.89 kB / 0.5708 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.941e-05/0.3149, allocations: 20.47 kB / 0.5708 GB, free: 29.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.315, allocations: 20.14 kB / 0.5708 GB, free: 29.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.632e-05/0.315, allocations: 317.8 kB / 0.5711 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.315, allocations: 13.72 kB / 0.5712 GB, free: 29.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.511e-05/0.3151, allocations: 12.66 kB / 0.5712 GB, free: 29.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.22e-05/0.3151, allocations: 31.52 kB / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3151, allocations: 0 / 0.5712 GB, free: 29.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.245e-05/0.3152, allocations: 65.36 kB / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.3152, allocations: 6.234 kB / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-06/0.3152, allocations: 0 / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3153, allocations: 0 / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.3154, allocations: 13.53 kB / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3154, allocations: 0 / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.057e-05/0.3155, allocations: 5.422 kB / 0.5713 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3155, allocations: 1.688 kB / 0.5713 GB, free: 29.55 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 4.989e-05/0.3155, allocations: 119.3 kB / 0.5714 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.3156, allocations: 5.484 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.3156, allocations: 10.08 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3156, allocations: 1.688 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3156, allocations: 1.094 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3156, allocations: 6.219 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.828e-05/0.3157, allocations: 172.4 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3157, allocations: 1 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.3157, allocations: 4.641 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.3157, allocations: 5.531 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.3158, allocations: 5.906 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3158, allocations: 1.656 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.3158, allocations: 1.062 kB / 0.5716 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.3159, allocations: 100.1 kB / 0.5717 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.3159, allocations: 83.84 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.3159, allocations: 3.25 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.316, allocations: 3.891 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.316, allocations: 5.203 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.316, allocations: 2.078 kB / 0.5718 GB, free: 29.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.324e-05/0.3161, allocations: 89.45 kB / 0.5719 GB, free: 28.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3161, allocations: 1.031 kB / 0.5719 GB, free: 28.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.3163, allocations: 13.02 kB / 0.5719 GB, free: 28.94 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0002492/0.3165, allocations: 0.6375 MB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.3167, allocations: 33.08 kB / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3167, allocations: 0 / 0.5725 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.177e-05/0.3167, allocations: 24.5 kB / 0.5726 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.0001377/0.3169, allocations: 3.625 kB / 0.5726 GB, free: 28.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007771/0.3176, allocations: 1.225 MB / 0.5738 GB, free: 27.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.338e-05/0.3177, allocations: 0.6817 MB / 0.5744 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.425e-05/0.3178, allocations: 4.266 kB / 0.5744 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.3178, allocations: 18.05 kB / 0.5745 GB, free: 26.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3178, allocations: 0 / 0.5745 GB, free: 26.45 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.3336, allocations: 1.491 MB / 0.5759 GB, free: 26.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.733/7.067, allocations: 20.47 kB / 0.5759 GB, free: 26.13 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)