Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.0009988/0.0009989, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001039/0.001039, allocations: 192 kB / 17.2 MB, free: 5.598 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.225/1.225, 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.7031/0.7031, allocations: 122.8 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 0.4912 GB, free: 7.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2751, allocations: 77.91 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002281/0.2774, allocations: 1.589 MB / 0.5688 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006579/0.2781, allocations: 0.533 MB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.446e-05/0.2781, allocations: 3.062 kB / 0.5694 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.002e-05/0.2782, allocations: 9.703 kB / 0.5694 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.2784, allocations: 46.36 kB / 0.5694 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.762e-05/0.2785, allocations: 42.84 kB / 0.5695 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2786, allocations: 113 kB / 0.5696 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.685e-05/0.2787, allocations: 21.92 kB / 0.5696 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.044e-05/0.2788, allocations: 54.88 kB / 0.5696 GB, free: 31.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.889e-05/0.2789, allocations: 49.61 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.2789, allocations: 7.312 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.044e-05/0.2789, allocations: 9.375 kB / 0.5697 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.829e-05/0.279, allocations: 25.72 kB / 0.5697 GB, free: 31.06 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.139e-05/0.279, allocations: 42.94 kB / 0.5698 GB, free: 31.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2792, allocations: 95.77 kB / 0.5699 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.2792, allocations: 0 / 0.5699 GB, free: 31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2792, allocations: 2.281 kB / 0.5699 GB, free: 31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.2792, allocations: 0 / 0.5699 GB, free: 31 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005593/0.2797, allocations: 402.5 kB / 0.5702 GB, free: 30.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.2798, allocations: 13.62 kB / 0.5703 GB, free: 30.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.884e-05/0.2798, allocations: 37.95 kB / 0.5703 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.075e-05/0.2799, allocations: 11.5 kB / 0.5703 GB, free: 30.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.2799, allocations: 181.3 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.28, allocations: 8.219 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.28, allocations: 5.5 kB / 0.5705 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2801, allocations: 86.2 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2801, allocations: 4.969 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2802, allocations: 6.438 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.2802, allocations: 1.375 kB / 0.5706 GB, free: 30.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.2803, allocations: 47.33 kB / 0.5706 GB, free: 30.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.2807, allocations: 351.5 kB / 0.571 GB, free: 29.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.2809, allocations: 107.2 kB / 0.5711 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.93e-05/0.281, allocations: 46.09 kB / 0.5711 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.281, allocations: 2.656 kB / 0.5711 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.2812, allocations: 96.5 kB / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.2812, allocations: 0 / 0.5712 GB, free: 29.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002796/0.2815, allocations: 150.5 kB / 0.5713 GB, free: 29.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.2815, allocations: 52.5 kB / 0.5714 GB, free: 29.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.021e-05/0.2816, allocations: 131.3 kB / 0.5715 GB, free: 29.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.2816, allocations: 26.77 kB / 0.5715 GB, free: 29.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.574e-05/0.2816, allocations: 90.33 kB / 0.5716 GB, free: 29.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.2816, allocations: 36.53 kB / 0.5717 GB, free: 29.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.2817, allocations: 24.67 kB / 0.5717 GB, free: 29.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.82e-05/0.2817, allocations: 320.9 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.411e-05/0.2818, allocations: 29.91 kB / 0.572 GB, free: 29.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-05/0.2818, allocations: 26.05 kB / 0.5721 GB, free: 29.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.725e-05/0.282, allocations: 68.39 kB / 0.5721 GB, free: 29.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.282, allocations: 0.75 kB / 0.5721 GB, free: 29.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001519/0.2821, allocations: 116.5 kB / 0.5722 GB, free: 28.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.2821, allocations: 5.953 kB / 0.5722 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2821, allocations: 0 / 0.5722 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2822, allocations: 1.25 kB / 0.5722 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.964e-05/0.2823, allocations: 18.41 kB / 0.5723 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.2823, allocations: 1.875 kB / 0.5723 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.2824, allocations: 22.75 kB / 0.5723 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.2824, allocations: 3.938 kB / 0.5723 GB, free: 28.96 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: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.103e-05/0.2825, allocations: 121.3 kB / 0.5724 GB, free: 28.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.2825, allocations: 13.66 kB / 0.5724 GB, free: 28.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.2827, allocations: 148.3 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2827, allocations: 1.344 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2827, allocations: 5.75 kB / 0.5726 GB, free: 28.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2827, allocations: 8.984 kB / 0.5726 GB, free: 28.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.2829, allocations: 207.1 kB / 0.5728 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2829, allocations: 0.7969 kB / 0.5728 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.765e-05/0.283, allocations: 21.55 kB / 0.5728 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.283, allocations: 2.391 kB / 0.5728 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.283, allocations: 2.422 kB / 0.5728 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.283, allocations: 1.062 kB / 0.5728 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.283, allocations: 2.125 kB / 0.5728 GB, free: 28.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.2832, allocations: 162.5 kB / 0.5729 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.2832, allocations: 88.56 kB / 0.573 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.2833, allocations: 8.062 kB / 0.573 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.2834, allocations: 7.312 kB / 0.573 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.2834, allocations: 18.22 kB / 0.5731 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.2834, allocations: 5.75 kB / 0.5731 GB, free: 28.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.137e-05/0.2835, allocations: 101.6 kB / 0.5732 GB, free: 28.23 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2835, allocations: 0 / 0.5732 GB, free: 28.23 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001954/0.2837, allocations: 26.81 kB / 0.5732 GB, free: 28.22 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: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003427/0.284, allocations: 0.6994 MB / 0.5739 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.2842, allocations: 91.52 kB / 0.574 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2842, allocations: 0 / 0.574 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.2843, allocations: 52 kB / 0.574 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.2845, allocations: 15.83 kB / 0.574 GB, free: 27.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2855, allocations: 1.449 MB / 0.5754 GB, free: 26.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.789e-05/0.2856, allocations: 0.6964 MB / 0.5761 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.374e-05/0.2857, allocations: 8.594 kB / 0.5761 GB, free: 25.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.2857, allocations: 33.42 kB / 0.5762 GB, free: 25.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2858, allocations: 7.062 kB / 0.5762 GB, free: 25.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.3017, allocations: 2.259 MB / 0.5784 GB, free: 25.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/6.913, allocations: 1.062 kB / 0.5784 GB, free: 25.25 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)