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.7191/0.7191, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 181.9 kB / 187.3 MB, free: 11.88 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.345/1.345, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0009115/0.0009114, allocations: 95.3 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 287.1 kB / 0.5939 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.644e-05, allocations: 12 kB / 0.6835 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3661, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.4703, allocations: 108.9 MB / 0.8707 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002061/0.4705, allocations: 76.55 kB / 0.8708 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.001727/0.4723, allocations: 0.7529 MB / 0.8715 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4723, allocations: 0 / 0.8715 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.4723, allocations: 0 / 0.8715 GB, free: 14.79 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.00022/0.4725, allocations: 318.6 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4726, allocations: 8.031 kB / 0.8718 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.386e-05/0.4726, allocations: 30.56 kB / 0.8719 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.808e-05/0.4726, allocations: 7.938 kB / 0.8719 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.4728, allocations: 167 kB / 0.872 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.4728, allocations: 8.703 kB / 0.872 GB, free: 14.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.4728, allocations: 4 kB / 0.872 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.121e-05/0.4729, allocations: 40.84 kB / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.4729, allocations: 0 / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.4729, allocations: 0 / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.4729, allocations: 0 / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.4729, allocations: 4 kB / 0.8721 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.4732, allocations: 247.8 kB / 0.8723 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.09e-05/0.4732, allocations: 26.52 kB / 0.8724 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.4733, allocations: 12.92 kB / 0.8724 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-06/0.4733, allocations: 0 / 0.8724 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4733, allocations: 34.56 kB / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.4733, allocations: 0 / 0.8724 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.4734, allocations: 45.59 kB / 0.8724 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.4735, allocations: 51.41 kB / 0.8725 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.016e-05/0.4735, allocations: 93 kB / 0.8726 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4736, allocations: 25.7 kB / 0.8726 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.4736, allocations: 88.08 kB / 0.8727 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.304e-05/0.4736, allocations: 7.891 kB / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.714e-06/0.4736, allocations: 0 / 0.8727 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.76e-05/0.4737, allocations: 326.8 kB / 0.873 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.858e-06/0.4737, allocations: 4 kB / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.4737, allocations: 0 / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.247e-05/0.4738, allocations: 4 kB / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4738, allocations: 0 / 0.873 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.861e-05/0.4738, allocations: 37.7 kB / 0.8731 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.4739, allocations: 9.188 kB / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4739, allocations: 0 / 0.8731 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4739, allocations: 8.094 kB / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.302e-05/0.4739, allocations: 0 / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4739, allocations: 3.984 kB / 0.8731 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.642e-05/0.474, allocations: 4 kB / 0.8731 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.474, allocations: 0 / 0.8731 GB, free: 12.99 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 () * 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 4.986e-05/0.474, allocations: 108.9 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.4741, allocations: 0 / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.578e-05/0.4741, allocations: 7.125 kB / 0.8732 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.4741, allocations: 4 kB / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4741, allocations: 4 kB / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4741, allocations: 0 / 0.8732 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4742, allocations: 153.6 kB / 0.8733 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.4742, allocations: 3.938 kB / 0.8733 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.4743, allocations: 4 kB / 0.8733 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.4743, allocations: 0 / 0.8733 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.4743, allocations: 4 kB / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.4743, allocations: 0 / 0.8734 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4743, allocations: 7.984 kB / 0.8734 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.062e-05/0.4744, allocations: 131.6 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.4744, allocations: 88.97 kB / 0.8736 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.4744, allocations: 0 / 0.8736 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.439e-05/0.4745, allocations: 0 / 0.8736 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.149e-05/0.4745, allocations: 7.922 kB / 0.8736 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.4745, allocations: 0 / 0.8736 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.4746, allocations: 83.45 kB / 0.8737 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4746, allocations: 0 / 0.8737 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001936/0.4748, allocations: 8 kB / 0.8737 GB, free: 12.3 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 () * 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.0002936/0.4751, allocations: 0.6695 MB / 0.8743 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.838e-05/0.4751, allocations: 12 kB / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4751, allocations: 3.938 kB / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.288e-06/0.4752, allocations: 4.094 kB / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001154/0.4753, allocations: 9.734 kB / 0.8743 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.4755, allocations: 96.78 kB / 0.8744 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.4757, allocations: 0.677 MB / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.327e-05/0.4758, allocations: 0 / 0.8751 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.4758, allocations: 7.438 kB / 0.8751 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.4758, allocations: 0 / 0.8751 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01028/0.4861, allocations: 0.8788 MB / 0.876 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.4863, allocations: 197.1 kB / 0.8762 GB, free: 9.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.345/1.831, allocations: 2.25 kB / 0.8762 GB, free: 9.84 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)