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.0009767/0.0009767, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.007033/0.007033, allocations: 170 kB / 16.27 MB, free: 6.648 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7643/0.7643, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003674, allocations: 12.44 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4941/0.4945, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004742/0.4993, allocations: 3.657 MB / 0.5872 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1794/0.6788, allocations: 146.5 MB / 0.7303 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008262/0.6796, allocations: 15.88 kB / 0.7304 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006059/0.6803, allocations: 135 kB / 0.7305 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/0.6819, allocations: 397 kB / 0.7309 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002008/0.6839, allocations: 0.6741 MB / 0.7315 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.6853, allocations: 1.074 MB / 0.7326 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008759/0.6862, allocations: 0.5629 MB / 0.7331 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005348/0.6867, allocations: 294.5 kB / 0.7334 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.6872, allocations: 310.2 kB / 0.7337 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.6874, allocations: 20 kB / 0.7337 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008703/0.6882, allocations: 375.6 kB / 0.7341 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.6885, allocations: 167.2 kB / 0.7342 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.6888, allocations: 403.1 kB / 0.7346 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.6904, allocations: 1.324 MB / 0.7359 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6904, allocations: 0 / 0.7359 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.402e-06/0.6904, allocations: 0 / 0.7359 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.17e-05/0.6905, allocations: 0 / 0.7359 GB, free: 4.004 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.002044/0.6925, allocations: 1.112 MB / 0.737 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6926, allocations: 12.03 kB / 0.737 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.6935, allocations: 183.5 kB / 0.7372 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.6946, allocations: 0.6994 MB / 0.7379 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.462e-05/0.6946, allocations: 58 kB / 0.7379 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.6947, allocations: 72 kB / 0.738 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.6962, allocations: 0.8442 MB / 0.7388 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.6962, allocations: 0 / 0.7388 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.141e-05/0.6963, allocations: 35.98 kB / 0.7388 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.6964, allocations: 20 kB / 0.7389 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.6981, allocations: 1.054 MB / 0.7399 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.7018, allocations: 2.357 MB / 0.7422 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.7031, allocations: 0.7812 MB / 0.743 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.7036, allocations: 274.4 kB / 0.7432 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.7037, allocations: 28.59 kB / 0.7433 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007268/0.7044, allocations: 421.6 kB / 0.7437 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.244e-06/0.7044, allocations: 0 / 0.7437 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.002942/0.7074, allocations: 1.074 MB / 0.7447 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.7075, allocations: 196.4 kB / 0.7449 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.7083, allocations: 0.5859 MB / 0.7455 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/0.7084, allocations: 41.69 kB / 0.7455 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.7087, allocations: 364.4 kB / 0.7458 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.7089, allocations: 228.7 kB / 0.7461 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.709, allocations: 65.67 kB / 0.7461 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.7092, allocations: 378.8 kB / 0.7465 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.7097, allocations: 229.9 kB / 0.7467 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005942/0.7103, allocations: 326.8 kB / 0.747 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.7114, allocations: 0.5507 MB / 0.7476 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7114, allocations: 0 / 0.7476 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001902/0.7134, allocations: 0.7548 MB / 0.7483 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/0.7134, allocations: 9.562 kB / 0.7483 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.7134, allocations: 0 / 0.7483 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006697/0.7141, allocations: 84.86 kB / 0.7484 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007298/0.7148, allocations: 147.9 kB / 0.7485 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.7172, allocations: 1.512 MB / 0.75 GB, free: 5.043 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008129/0.718, allocations: 91.42 kB / 0.7501 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.43e-05/0.7181, allocations: 35.97 kB / 0.7501 GB, free: 4.918 MB / 0.5762 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.0006485/0.7188, allocations: 245.7 kB / 0.7504 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.719, allocations: 75.06 kB / 0.7504 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002375/0.7214, allocations: 0.9627 MB / 0.7514 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7214, allocations: 8 kB / 0.7514 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.7214, allocations: 4 kB / 0.7514 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.7214, allocations: 7.984 kB / 0.7514 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.7246, allocations: 1.797 MB / 0.7531 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7246, allocations: 0 / 0.7531 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.7252, allocations: 135.8 kB / 0.7533 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005652/0.7258, allocations: 88.77 kB / 0.7534 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.312e-05/0.7258, allocations: 19.98 kB / 0.7534 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.7276, allocations: 1.563 MB / 0.7549 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.7277, allocations: 0 / 0.7549 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.7295, allocations: 0.8945 MB / 0.7558 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003902/0.7299, allocations: 263.8 kB / 0.756 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.73, allocations: 20 kB / 0.756 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000598/0.7306, allocations: 63.95 kB / 0.7561 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.7308, allocations: 64.84 kB / 0.7562 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.7308, allocations: 31.98 kB / 0.7562 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005514/0.7314, allocations: 415.1 kB / 0.7566 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7314, allocations: 4 kB / 0.7566 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008732/0.7323, allocations: 283.2 kB / 0.7569 GB, free: 13.75 MB / 0.5919 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.00145/0.7338, allocations: 0.5851 MB / 0.7574 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001577/0.7353, allocations: 0.7471 MB / 0.7582 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7354, allocations: 0 / 0.7582 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/0.7362, allocations: 484.5 kB / 0.7586 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.7376, allocations: 257.4 kB / 0.7589 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.7416, allocations: 2.05 MB / 0.7609 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.7422, allocations: 0.9838 MB / 0.7618 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008308/0.743, allocations: 257.5 kB / 0.7621 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.7433, allocations: 103.4 kB / 0.7622 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.7433, allocations: 0 / 0.7622 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of Templates: time 0.02279/0.7661, allocations: 12.87 MB / 0.7748 GB, free: 11.76 MB / 0.6075 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)