Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006183/0.006183, allocations: 99.97 kB / 15.73 MB, free: 6.008 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.001281/0.001282, allocations: 193 kB / 16.67 MB, free: 5.93 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8365/0.8365, allocations: 135.1 MB / 425.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.03 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1902, allocations: 80.93 MB / 0.6646 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.00648/0.1968, allocations: 4.049 MB / 0.6686 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6675/0.8643, allocations: 150.4 MB / 0.8155 GB, free: 8.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000969/0.8653, allocations: 22.88 kB / 0.8155 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005918/0.8659, allocations: 157 kB / 0.8157 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.8677, allocations: 476.4 kB / 0.8161 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.8697, allocations: 0.7883 MB / 0.8169 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00154/0.8712, allocations: 1.152 MB / 0.818 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008095/0.872, allocations: 0.6054 MB / 0.8186 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006871/0.8727, allocations: 419.6 kB / 0.819 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.8732, allocations: 439.7 kB / 0.8194 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001189/0.8734, allocations: 99.53 kB / 0.8195 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.8745, allocations: 470.1 kB / 0.82 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002546/0.8747, allocations: 263.4 kB / 0.8202 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005064/0.8753, allocations: 491.5 kB / 0.8207 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.8772, allocations: 1.459 MB / 0.8221 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.8772, allocations: 0 / 0.8221 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.013e-06/0.8772, allocations: 0 / 0.8221 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.8772, allocations: 0 / 0.8221 GB, free: 5.77 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002401/0.8796, allocations: 1.3 MB / 0.8234 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.8797, allocations: 8.422 kB / 0.8234 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009882/0.8807, allocations: 184.3 kB / 0.8236 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.882, allocations: 0.711 MB / 0.8243 GB, free: 4.055 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.8821, allocations: 58.5 kB / 0.8243 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.8822, allocations: 71.28 kB / 0.8244 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.8839, allocations: 0.8389 MB / 0.8252 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.884, allocations: 3.938 kB / 0.8252 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.573e-05/0.8841, allocations: 31.59 kB / 0.8252 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.8841, allocations: 17.56 kB / 0.8253 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/0.8857, allocations: 1.047 MB / 0.8263 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.8895, allocations: 2.307 MB / 0.8285 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.8909, allocations: 0.772 MB / 0.8293 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004698/0.8913, allocations: 270.2 kB / 0.8295 GB, free: 0.5742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.246e-05/0.8914, allocations: 35.56 kB / 0.8296 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007416/0.8922, allocations: 411.7 kB / 0.83 GB, free: 296 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.755e-06/0.8922, allocations: 0 / 0.83 GB, free: 296 kB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002972/0.8952, allocations: 1.048 MB / 0.831 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.8953, allocations: 192.4 kB / 0.8312 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/0.8961, allocations: 0.5809 MB / 0.8317 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.8961, allocations: 38.39 kB / 0.8318 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003288/0.8965, allocations: 371.4 kB / 0.8321 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.8967, allocations: 234.3 kB / 0.8324 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002172/0.8969, allocations: 146.9 kB / 0.8325 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.8971, allocations: 376.7 kB / 0.8329 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.8976, allocations: 237.3 kB / 0.8331 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/0.8981, allocations: 321.6 kB / 0.8334 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.8991, allocations: 0.5314 MB / 0.8339 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.8991, allocations: 4 kB / 0.8339 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001738/0.9009, allocations: 0.7502 MB / 0.8346 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9009, allocations: 5 kB / 0.8347 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.9009, allocations: 2.25 kB / 0.8347 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.9015, allocations: 89.77 kB / 0.8347 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005574/0.9021, allocations: 141.2 kB / 0.8349 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.9043, allocations: 1.626 MB / 0.8365 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.9051, allocations: 77.52 kB / 0.8365 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.082e-05/0.9052, allocations: 32.52 kB / 0.8366 GB, free: 11.4 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000559/0.9057, allocations: 253 kB / 0.8368 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.906, allocations: 74.41 kB / 0.8369 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/0.9083, allocations: 0.9516 MB / 0.8378 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.9083, allocations: 11.25 kB / 0.8378 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9083, allocations: 2.781 kB / 0.8378 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.9083, allocations: 3.984 kB / 0.8378 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003318/0.9116, allocations: 1.787 MB / 0.8396 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.9117, allocations: 0 / 0.8396 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.9122, allocations: 139.5 kB / 0.8397 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.9127, allocations: 74.16 kB / 0.8398 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.017e-05/0.9128, allocations: 27.2 kB / 0.8398 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.9149, allocations: 1.646 MB / 0.8414 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.9149, allocations: 3.938 kB / 0.8414 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.9169, allocations: 0.8839 MB / 0.8423 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004562/0.9174, allocations: 250.7 kB / 0.8425 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.9176, allocations: 17.12 kB / 0.8425 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006317/0.9182, allocations: 53.02 kB / 0.8426 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.9184, allocations: 68.53 kB / 0.8426 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.9184, allocations: 28.11 kB / 0.8427 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006374/0.9191, allocations: 423 kB / 0.8431 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9191, allocations: 0 / 0.8431 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001073/0.9202, allocations: 284 kB / 0.8433 GB, free: 6.559 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001636/0.9218, allocations: 0.6046 MB / 0.8439 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001697/0.9235, allocations: 0.7367 MB / 0.8447 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9236, allocations: 2.812 kB / 0.8447 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008859/0.9244, allocations: 479.5 kB / 0.8451 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.9258, allocations: 285.8 kB / 0.8454 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/0.9299, allocations: 1.599 MB / 0.8469 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007441/0.9307, allocations: 0.9874 MB / 0.8479 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008937/0.9316, allocations: 242 kB / 0.8481 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.9319, allocations: 99.33 kB / 0.8482 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of SimCode: time 8.01e-07/0.9319, allocations: 4 kB / 0.8482 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of Templates: time 0.02867/0.9606, allocations: 13.62 MB / 0.8615 GB, free: 5.035 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)