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: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 105.8 kB / 16.41 MB, free: 6.496 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.002412/0.002412, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 290.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9663/0.9663, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5301, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.003108/0.5332, allocations: 1.608 MB / 0.7686 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.5343, allocations: 0.5433 MB / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.499e-05/0.5344, allocations: 0 / 0.7692 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.5344, allocations: 15.86 kB / 0.7692 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.5348, allocations: 47.69 kB / 0.7692 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.5349, allocations: 31.97 kB / 0.7692 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.5351, allocations: 111.6 kB / 0.7694 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.5352, allocations: 23.52 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.5354, allocations: 51.77 kB / 0.7694 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.5355, allocations: 47.83 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.5356, allocations: 8 kB / 0.7695 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.974e-05/0.5356, allocations: 8 kB / 0.7695 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.647e-05/0.5356, allocations: 19.92 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.927e-05/0.5357, allocations: 55.77 kB / 0.7696 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.5359, allocations: 83.75 kB / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5359, allocations: 0 / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5359, allocations: 0 / 0.7696 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.5359, allocations: 4 kB / 0.7696 GB, free: 1.262 MB / 0.5294 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.0007601/0.5367, allocations: 401.8 kB / 0.77 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.5367, allocations: 8.031 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.5368, allocations: 20.69 kB / 0.7701 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5369, allocations: 176.3 kB / 0.7702 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.537, allocations: 12.36 kB / 0.7702 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.537, allocations: 8.375 kB / 0.7702 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.5372, allocations: 89.89 kB / 0.7703 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.5372, allocations: 0 / 0.7703 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.5372, allocations: 0 / 0.7703 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.5372, allocations: 4 kB / 0.7703 GB, free: 480 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.5374, allocations: 51.91 kB / 0.7704 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.5379, allocations: 344.6 kB / 0.7707 GB, free: 32 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.5382, allocations: 106.7 kB / 0.7708 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.5383, allocations: 44.84 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.5383, allocations: 3.984 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.5385, allocations: 95.27 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.653e-06/0.5386, allocations: 0 / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.0003343/0.5389, allocations: 157.4 kB / 0.7711 GB, free: 15.6 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.539, allocations: 51.41 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.5391, allocations: 121.8 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.5391, allocations: 29.7 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.5392, allocations: 92.36 kB / 0.7714 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.5392, allocations: 31.69 kB / 0.7714 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.366e-05/0.5393, allocations: 29.7 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5394, allocations: 318.8 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.5395, allocations: 31.98 kB / 0.7718 GB, free: 14.86 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.5396, allocations: 35.98 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.5397, allocations: 60.78 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5397, allocations: 0 / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001797/0.5399, allocations: 112 kB / 0.772 GB, free: 14.65 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.5399, allocations: 4 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5399, allocations: 3.938 kB / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5399, allocations: 0 / 0.772 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.54, allocations: 23.98 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.5401, allocations: 4 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001105/0.5402, allocations: 19.77 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.5402, allocations: 4 kB / 0.772 GB, free: 14.59 MB / 0.545 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 9.895e-05/0.5403, allocations: 124.2 kB / 0.7721 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.5403, allocations: 7.906 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.5406, allocations: 146 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5406, allocations: 4 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5406, allocations: 0 / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5407, allocations: 7.938 kB / 0.7723 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.5409, allocations: 209.6 kB / 0.7725 GB, free: 14.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.5409, allocations: 7.938 kB / 0.7725 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.5409, allocations: 19.92 kB / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.541, allocations: 0 / 0.7725 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.541, allocations: 8 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.541, allocations: 0 / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.541, allocations: 0 / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.5412, allocations: 164.9 kB / 0.7727 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.5413, allocations: 92.94 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5413, allocations: 0 / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.5414, allocations: 8 kB / 0.7728 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.5415, allocations: 15.92 kB / 0.7728 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.5415, allocations: 15.92 kB / 0.7728 GB, free: 13.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.806e-05/0.5416, allocations: 96.14 kB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5416, allocations: 0 / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002173/0.5418, allocations: 24 kB / 0.7729 GB, free: 13.56 MB / 0.545 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.0001248/0.5419, allocations: 115.2 kB / 0.773 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.5422, allocations: 81.91 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5422, allocations: 0 / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.03e-05/0.5423, allocations: 51.97 kB / 0.7732 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.5424, allocations: 13.2 kB / 0.7732 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.543, allocations: 236.2 kB / 0.7734 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.5433, allocations: 0.6963 MB / 0.7741 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.5433, allocations: 19.42 kB / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.5433, allocations: 0 / 0.7741 GB, free: 12.29 MB / 0.545 GB Notification: Performance of Templates: time 0.00279/0.5461, allocations: 1.294 MB / 0.7754 GB, free: 11 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.makefile (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 & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)