Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.007969/0.007969, allocations: 97.64 kB / 15.73 MB, free: 6.48 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.001712/0.001712, allocations: 191.2 kB / 16.67 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002173/0.002174, allocations: 278.6 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9505/0.9505, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 100.2 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1677, allocations: 86.98 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002844/0.1706, allocations: 1.606 MB / 0.7675 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009996/0.1716, allocations: 0.5459 MB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.082e-05/0.1717, allocations: 0 / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.1718, allocations: 3.938 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.1721, allocations: 47.69 kB / 0.7681 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.1722, allocations: 35.95 kB / 0.7681 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1724, allocations: 107.6 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1725, allocations: 23.98 kB / 0.7682 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.1726, allocations: 51.83 kB / 0.7683 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1728, allocations: 51.77 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.1728, allocations: 8 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 2.061e-05/0.1728, allocations: 12 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.1729, allocations: 23.95 kB / 0.7684 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.1729, allocations: 43.8 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1731, allocations: 91.67 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1731, allocations: 0 / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1731, allocations: 0 / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.1731, allocations: 0 / 0.7685 GB, free: 6.273 MB / 0.5606 GB 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.0007517/0.1739, allocations: 403.1 kB / 0.7689 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1739, allocations: 16.02 kB / 0.7689 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.174, allocations: 38.69 kB / 0.7689 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.174, allocations: 12.84 kB / 0.7689 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1742, allocations: 184.2 kB / 0.7691 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1742, allocations: 4.375 kB / 0.7691 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.1742, allocations: 8.375 kB / 0.7691 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1744, allocations: 85.77 kB / 0.7692 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1744, allocations: 0 / 0.7692 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1744, allocations: 3.938 kB / 0.7692 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1744, allocations: 4 kB / 0.7692 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1746, allocations: 51.91 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.1751, allocations: 344.6 kB / 0.7696 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.1754, allocations: 114.7 kB / 0.7697 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.466e-05/0.1754, allocations: 44.84 kB / 0.7698 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1755, allocations: 0 / 0.7698 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1757, allocations: 111.2 kB / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.1757, allocations: 0 / 0.7699 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0003219/0.176, allocations: 145.5 kB / 0.77 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1761, allocations: 51.41 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.1762, allocations: 121.8 kB / 0.7702 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.1762, allocations: 33.7 kB / 0.7702 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.1763, allocations: 96.2 kB / 0.7703 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.1763, allocations: 31.7 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.1764, allocations: 29.7 kB / 0.7703 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1765, allocations: 322.8 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.1766, allocations: 27.98 kB / 0.7707 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.1766, allocations: 27.98 kB / 0.7707 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.1768, allocations: 67.67 kB / 0.7708 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1768, allocations: 3.984 kB / 0.7708 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001825/0.177, allocations: 113.6 kB / 0.7709 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.177, allocations: 4 kB / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.177, allocations: 4 kB / 0.7709 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.177, allocations: 0 / 0.7709 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1771, allocations: 19.98 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1771, allocations: 3.938 kB / 0.7709 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.1772, allocations: 7.938 kB / 0.7709 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1773, allocations: 7.984 kB / 0.7709 GB, free: 3.543 MB / 0.5606 GB 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 0.0001026/0.1774, allocations: 118.5 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.1774, allocations: 7.906 kB / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1777, allocations: 142 kB / 0.7712 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.1777, allocations: 4 kB / 0.7712 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1777, allocations: 0 / 0.7712 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1777, allocations: 11.86 kB / 0.7712 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1779, allocations: 217.5 kB / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1779, allocations: 0 / 0.7714 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.178, allocations: 12 kB / 0.7714 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.178, allocations: 3.938 kB / 0.7714 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.178, allocations: 11.98 kB / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.178, allocations: 0 / 0.7714 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.178, allocations: 4 kB / 0.7714 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.1783, allocations: 163.7 kB / 0.7716 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1783, allocations: 85.02 kB / 0.7717 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.746e-05/0.1784, allocations: 7.938 kB / 0.7717 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.1785, allocations: 11.92 kB / 0.7717 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/0.1785, allocations: 19.92 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.1785, allocations: 8 kB / 0.7717 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.773e-05/0.1786, allocations: 95.27 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1786, allocations: 0 / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002044/0.1788, allocations: 31.84 kB / 0.7718 GB, free: 2.508 MB / 0.5606 GB 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.0005309/0.1794, allocations: 0.7021 MB / 0.7725 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.1796, allocations: 79.97 kB / 0.7726 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1796, allocations: 4 kB / 0.7726 GB, free: 1.695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.1797, allocations: 54.67 kB / 0.7727 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.1798, allocations: 13.12 kB / 0.7727 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.1813, allocations: 1.446 MB / 0.7741 GB, free: 104 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2961/0.4774, allocations: 0.6933 MB / 0.7748 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.201e-05/0.4775, allocations: 12.42 kB / 0.7748 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.396e-05/0.4776, allocations: 31.89 kB / 0.7748 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.4776, allocations: 0.7188 kB / 0.7748 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01808/0.4957, allocations: 2.295 MB / 0.777 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.96, allocations: 14.64 kB / 0.7771 GB, free: 14.05 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)