Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8411/0.8411, allocations: 143.3 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 179.1 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 447.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008935/0.0008935, allocations: 88.33 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 273.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 15.25 kB / 0.6929 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1225, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.2566, allocations: 109 MB / 0.8802 GB, free: 0.6406 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.2568, allocations: 83.94 kB / 0.8803 GB, free: 0.5586 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.2369/0.4937, allocations: 0.7507 MB / 0.881 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4937, allocations: 0 / 0.881 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.425e-06/0.4937, allocations: 0 / 0.881 GB, free: 109.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002382/0.494, allocations: 318.8 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.494, allocations: 11.08 kB / 0.8813 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.4941, allocations: 31.12 kB / 0.8814 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.4941, allocations: 3.031 kB / 0.8814 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.4942, allocations: 167.2 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.4942, allocations: 8.078 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.4942, allocations: 1.688 kB / 0.8815 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.939e-05/0.4943, allocations: 36.34 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.4943, allocations: 0 / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.4943, allocations: 1.344 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.4943, allocations: 1.562 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.4943, allocations: 7.531 kB / 0.8816 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.4946, allocations: 247.6 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.003e-05/0.4946, allocations: 24.67 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.121e-06/0.4946, allocations: 1.375 kB / 0.8818 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.4946, allocations: 32.25 kB / 0.8819 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4946, allocations: 0 / 0.8819 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001169/0.4948, allocations: 45.27 kB / 0.8819 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.955e-05/0.4948, allocations: 56.12 kB / 0.882 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.4948, allocations: 94.66 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.4949, allocations: 25.7 kB / 0.8821 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.4949, allocations: 85.48 kB / 0.8822 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.218e-05/0.4949, allocations: 6.031 kB / 0.8822 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.673e-06/0.4949, allocations: 2.625 kB / 0.8822 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.495, allocations: 315.2 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.495, allocations: 5.812 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.662e-06/0.495, allocations: 1.75 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.658e-05/0.495, allocations: 14.75 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.495, allocations: 0 / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.791e-05/0.4951, allocations: 39.36 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4951, allocations: 7.219 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4951, allocations: 0.5 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.4951, allocations: 3.062 kB / 0.8825 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.4952, allocations: 7.25 kB / 0.8826 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.4952, allocations: 0.875 kB / 0.8826 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.4952, allocations: 0.6094 kB / 0.8826 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.916e-06/0.4952, allocations: 2.125 kB / 0.8826 GB, free: 107.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.4952, allocations: 112.5 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.4953, allocations: 1.422 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.554e-05/0.4953, allocations: 4.094 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4953, allocations: 0.6562 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4953, allocations: 0.9062 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.4953, allocations: 4 kB / 0.8827 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.4954, allocations: 154.1 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4954, allocations: 7.891 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.734e-05/0.4954, allocations: 4.641 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4954, allocations: 1.344 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-06/0.4955, allocations: 1.969 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4955, allocations: 3.469 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4955, allocations: 1.156 kB / 0.8828 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.851e-05/0.4955, allocations: 140.4 kB / 0.883 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.4956, allocations: 81.06 kB / 0.883 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.4956, allocations: 4.953 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.431e-05/0.4956, allocations: 0 / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-06/0.4956, allocations: 4.406 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.4956, allocations: 0.8125 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.913e-05/0.4957, allocations: 80.34 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4957, allocations: 0.75 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002004/0.4959, allocations: 3.406 kB / 0.8831 GB, free: 107.1 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001992/0.4961, allocations: 0.6761 MB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.167e-05/0.4961, allocations: 9.891 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4961, allocations: 0 / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.4962, allocations: 11.06 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001223/0.4963, allocations: 5.5 kB / 0.8838 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004099/0.4967, allocations: 343.9 kB / 0.8842 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.976e-05/0.4968, allocations: 0.6776 MB / 0.8848 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.458e-05/0.4968, allocations: 4.656 kB / 0.8848 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.296e-05/0.4969, allocations: 12.78 kB / 0.8848 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.9e-07/0.4969, allocations: 0 / 0.8848 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00946/0.5063, allocations: 0.886 MB / 0.8857 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001152/0.5065, allocations: 220 kB / 0.8859 GB, free: 105 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.35/1.856, allocations: 2.25 kB / 0.8859 GB, free: 105 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)