Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001008/0.001008, 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.0009979/0.000998, allocations: 193.2 kB / 16.53 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.173/1.173, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6816/0.6816, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 56.06 kB / 0.5018 GB, free: 8.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1298, allocations: 80.21 MB / 0.5801 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004875/0.1347, allocations: 4.046 MB / 0.584 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3496/0.4844, allocations: 150.4 MB / 0.7309 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005992/0.485, allocations: 15.12 kB / 0.731 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.4855, allocations: 166.4 kB / 0.7311 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.487, allocations: 476.8 kB / 0.7316 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.4887, allocations: 0.7706 MB / 0.7323 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001173/0.4898, allocations: 1.155 MB / 0.7335 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007877/0.4906, allocations: 0.5901 MB / 0.734 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005632/0.4912, allocations: 418.3 kB / 0.7344 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005773/0.4918, allocations: 433.2 kB / 0.7348 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002112/0.492, allocations: 101.3 kB / 0.7349 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008055/0.4928, allocations: 442.4 kB / 0.7354 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000264/0.4931, allocations: 262.6 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.4936, allocations: 489.7 kB / 0.7361 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.495, allocations: 1.417 MB / 0.7375 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4951, allocations: 0 / 0.7375 GB, free: 14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4951, allocations: 0 / 0.7375 GB, free: 14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.586e-05/0.4951, allocations: 1.219 kB / 0.7375 GB, free: 14 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002175/0.4973, allocations: 1.308 MB / 0.7387 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.4973, allocations: 9.594 kB / 0.7388 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.4982, allocations: 178.1 kB / 0.7389 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008623/0.499, allocations: 0.6952 MB / 0.7396 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.306e-05/0.4991, allocations: 57.59 kB / 0.7397 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.522e-05/0.4992, allocations: 74.09 kB / 0.7397 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.5004, allocations: 0.8432 MB / 0.7406 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.5005, allocations: 1.375 kB / 0.7406 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-05/0.5005, allocations: 36.25 kB / 0.7406 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.5006, allocations: 21.25 kB / 0.7406 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.5021, allocations: 1.05 MB / 0.7416 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/0.5058, allocations: 2.328 MB / 0.7439 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/0.507, allocations: 0.7772 MB / 0.7447 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.5074, allocations: 264.2 kB / 0.7449 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.88e-05/0.5075, allocations: 35.86 kB / 0.745 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008126/0.5083, allocations: 419.1 kB / 0.7453 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.915e-06/0.5083, allocations: 2.562 kB / 0.7454 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002653/0.511, allocations: 1.049 MB / 0.7464 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.5111, allocations: 188.8 kB / 0.7466 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.5118, allocations: 0.5813 MB / 0.7471 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.496e-05/0.5119, allocations: 45.64 kB / 0.7472 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.5121, allocations: 364.4 kB / 0.7475 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.5123, allocations: 236.7 kB / 0.7477 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.5125, allocations: 142.5 kB / 0.7479 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5127, allocations: 378.8 kB / 0.7482 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.5131, allocations: 225.9 kB / 0.7485 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.5136, allocations: 318.8 kB / 0.7488 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.5145, allocations: 0.5351 MB / 0.7493 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5146, allocations: 0 / 0.7493 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001632/0.5162, allocations: 0.751 MB / 0.75 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5162, allocations: 8 kB / 0.75 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.5162, allocations: 8.031 kB / 0.75 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005482/0.5168, allocations: 80.78 kB / 0.7501 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.5173, allocations: 139.8 kB / 0.7502 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.5192, allocations: 1.63 MB / 0.7518 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.5197, allocations: 79.36 kB / 0.7519 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.5198, allocations: 32.62 kB / 0.7519 GB, free: 2.238 MB / 0.5606 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.0003074/0.5201, allocations: 252.8 kB / 0.7522 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.5203, allocations: 79.05 kB / 0.7523 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.5222, allocations: 0.9504 MB / 0.7532 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.5223, allocations: 8 kB / 0.7532 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.5223, allocations: 0 / 0.7532 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.5223, allocations: 3.984 kB / 0.7532 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.525, allocations: 1.798 MB / 0.7549 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.525, allocations: 8.062 kB / 0.755 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004793/0.5255, allocations: 131.8 kB / 0.7551 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003958/0.5259, allocations: 72.78 kB / 0.7552 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.5259, allocations: 23.92 kB / 0.7552 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001677/0.5276, allocations: 1.658 MB / 0.7568 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5276, allocations: 0.8438 kB / 0.7568 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.5292, allocations: 0.879 MB / 0.7577 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002676/0.5295, allocations: 247.8 kB / 0.7579 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.901e-05/0.5296, allocations: 27.94 kB / 0.7579 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/0.5301, allocations: 56.58 kB / 0.758 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.5302, allocations: 52.92 kB / 0.758 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.582e-05/0.5303, allocations: 31.98 kB / 0.7581 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004641/0.5308, allocations: 423 kB / 0.7585 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5308, allocations: 0 / 0.7585 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007792/0.5315, allocations: 278.9 kB / 0.7587 GB, free: 11.04 MB / 0.5762 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.001288/0.5328, allocations: 0.6093 MB / 0.7593 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001828/0.5347, allocations: 0.9106 MB / 0.7602 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5347, allocations: 3.938 kB / 0.7602 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.5355, allocations: 480.8 kB / 0.7607 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.5365, allocations: 277.9 kB / 0.7609 GB, free: 9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.5396, allocations: 1.623 MB / 0.7625 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.5401, allocations: 0.9874 MB / 0.7635 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0006683/0.5408, allocations: 258 kB / 0.7637 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.541, allocations: 95.39 kB / 0.7638 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.541, allocations: 0 / 0.7638 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of Templates: time 0.02033/0.5613, allocations: 13.47 MB / 0.777 GB, free: 8.715 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)