Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_Buildings_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.00115/0.00115, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.537/1.537, allocations: 292.3 MB / 0.5489 GB, free: 12.8 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 73.14 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1729, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002238/0.1752, allocations: 1.41 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005437/0.1758, allocations: 412 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.045e-05/0.1758, allocations: 0 / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.1758, allocations: 4 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.503e-05/0.1759, allocations: 3.938 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 1.901e-05/0.1759, allocations: 0 / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.808e-05/0.176, allocations: 19.92 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.442e-05/0.1761, allocations: 12 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1762, allocations: 19.84 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.1762, allocations: 4 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.1763, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.53e-06/0.1763, allocations: 0 / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1763, allocations: 8 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.169e-05/0.1763, allocations: 7.938 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.603e-05/0.1764, allocations: 20.14 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1764, allocations: 0 / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1764, allocations: 3.938 kB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.1764, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 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.0003015/0.1767, allocations: 327.5 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1767, allocations: 8.031 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.848e-05/0.1768, allocations: 34.73 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.665e-05/0.1768, allocations: 0.9375 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1769, allocations: 168.4 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1769, allocations: 384 / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.1769, allocations: 4.375 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.29e-05/0.177, allocations: 41.75 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.177, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.177, allocations: 0 / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.177, allocations: 4 kB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.401e-05/0.1771, allocations: 8 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.1773, allocations: 244.9 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.169e-05/0.1774, allocations: 26.52 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.1774, allocations: 12.92 kB / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.1774, allocations: 0 / 0.7862 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.1774, allocations: 34.56 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1774, allocations: 0 / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001198/0.1776, allocations: 49.59 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.1776, allocations: 51.41 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.086e-05/0.1776, allocations: 93.86 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.1777, allocations: 29.7 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.1777, allocations: 84.14 kB / 0.7865 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.1777, allocations: 11.83 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1778, allocations: 13.72 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.1778, allocations: 326.8 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-06/0.1779, allocations: 3.938 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-06/0.1779, allocations: 4 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.1779, allocations: 12.86 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1779, allocations: 0 / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.313e-05/0.1779, allocations: 41.69 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.178, allocations: 4 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.178, allocations: 4 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.178, allocations: 0 / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.04e-05/0.178, allocations: 4.094 kB / 0.7869 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.178, allocations: 7.938 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.46e-05/0.1781, allocations: 0 / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-06/0.1781, allocations: 0 / 0.7869 GB, free: 9.578 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.1781, allocations: 110.4 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.1782, allocations: 4 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.288e-05/0.1782, allocations: 7.062 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.1782, allocations: 3.984 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1782, allocations: 4 kB / 0.7871 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1782, allocations: 4 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.1783, allocations: 161.6 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1783, allocations: 0 / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.546e-05/0.1784, allocations: 4.188 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1784, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-06/0.1784, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1784, allocations: 0 / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1784, allocations: 3.984 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.037e-05/0.1785, allocations: 147.5 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.1785, allocations: 84.95 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.1785, allocations: 0 / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.686e-05/0.1786, allocations: 0 / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.1786, allocations: 0 / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1786, allocations: 4 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.1786, allocations: 75.28 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1786, allocations: 0 / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002172/0.1788, allocations: 8 kB / 0.7875 GB, free: 8.875 MB / 0.6075 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 (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.0002712/0.1791, allocations: 0.6695 MB / 0.7882 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.573e-05/0.1792, allocations: 19.92 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1792, allocations: 3.938 kB / 0.7882 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.975e-06/0.1792, allocations: 4 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.1794, allocations: 4.156 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.1802, allocations: 1.145 MB / 0.7893 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.1803, allocations: 0.6768 MB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.1804, allocations: 4 kB / 0.79 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.1804, allocations: 7.438 kB / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1804, allocations: 0 / 0.79 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.735/1.915, allocations: 1.048 MB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/14.13, allocations: 1.375 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)