Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001702/0.001702, allocations: 193.6 kB / 16.25 MB, free: 6.637 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.6 MB / 425.6 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 75.2 kB / 0.5054 GB, free: 5.176 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1794, allocations: 81.01 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006675/0.1861, allocations: 4.212 MB / 0.5886 GB, free: 60 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3956/0.5818, allocations: 148.3 MB / 0.7335 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008665/0.5827, allocations: 19.75 kB / 0.7335 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.5834, allocations: 130.9 kB / 0.7336 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.5849, allocations: 422.2 kB / 0.734 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.5868, allocations: 0.7401 MB / 0.7347 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.5883, allocations: 1.219 MB / 0.7359 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009416/0.5892, allocations: 0.6338 MB / 0.7366 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/0.5898, allocations: 452.2 kB / 0.737 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.5903, allocations: 467.5 kB / 0.7374 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.5905, allocations: 105.9 kB / 0.7375 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008477/0.5913, allocations: 474.1 kB / 0.738 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.5916, allocations: 277.3 kB / 0.7383 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.592, allocations: 0.5114 MB / 0.7387 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.5937, allocations: 1.502 MB / 0.7402 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5937, allocations: 0 / 0.7402 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.5937, allocations: 1.375 kB / 0.7402 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.5937, allocations: 0 / 0.7402 GB, free: 9.758 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.00236/0.5961, allocations: 1.369 MB / 0.7416 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5961, allocations: 9.969 kB / 0.7416 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008811/0.597, allocations: 183.5 kB / 0.7417 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009691/0.598, allocations: 0.7063 MB / 0.7424 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.355e-05/0.598, allocations: 63.5 kB / 0.7425 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5982, allocations: 83.09 kB / 0.7426 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.5996, allocations: 0.8976 MB / 0.7434 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.5997, allocations: 0 / 0.7434 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.17e-05/0.5998, allocations: 35.72 kB / 0.7435 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.5998, allocations: 24.38 kB / 0.7435 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.6014, allocations: 1.099 MB / 0.7446 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003932/0.6053, allocations: 2.53 MB / 0.747 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.6072, allocations: 0.8682 MB / 0.7479 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005395/0.6077, allocations: 291.7 kB / 0.7482 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.576e-05/0.6078, allocations: 32.67 kB / 0.7482 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008833/0.6087, allocations: 451.2 kB / 0.7486 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.933e-06/0.6087, allocations: 3.938 kB / 0.7486 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003137/0.6119, allocations: 1.116 MB / 0.7497 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.612, allocations: 196.6 kB / 0.7499 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.6128, allocations: 0.5939 MB / 0.7505 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.319e-05/0.6129, allocations: 41.7 kB / 0.7505 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003217/0.6132, allocations: 384.3 kB / 0.7509 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.6134, allocations: 244.4 kB / 0.7511 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.6137, allocations: 162.4 kB / 0.7513 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.6139, allocations: 390.7 kB / 0.7517 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.6144, allocations: 249.9 kB / 0.7519 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.6151, allocations: 343 kB / 0.7522 GB, free: 160 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.6162, allocations: 0.5838 MB / 0.7528 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.6162, allocations: 0 / 0.7528 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00196/0.6182, allocations: 0.806 MB / 0.7536 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.6182, allocations: 8 kB / 0.7536 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.6182, allocations: 3.984 kB / 0.7536 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.6188, allocations: 76.84 kB / 0.7537 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.6195, allocations: 163.7 kB / 0.7538 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.6218, allocations: 1.629 MB / 0.7554 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007229/0.6225, allocations: 83.33 kB / 0.7555 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.6226, allocations: 32.16 kB / 0.7555 GB, free: 12.62 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: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0004394/0.6231, allocations: 265.6 kB / 0.7558 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.6232, allocations: 75.06 kB / 0.7559 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.6257, allocations: 1.059 MB / 0.7569 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/0.6257, allocations: 8 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.6257, allocations: 0 / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6258, allocations: 7.922 kB / 0.7569 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.6292, allocations: 1.93 MB / 0.7588 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6292, allocations: 0 / 0.7588 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.6298, allocations: 159.7 kB / 0.7589 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.6303, allocations: 80.72 kB / 0.759 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.6303, allocations: 23.98 kB / 0.759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.6324, allocations: 1.663 MB / 0.7607 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6324, allocations: 64 / 0.7607 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.6344, allocations: 0.9608 MB / 0.7616 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.6348, allocations: 264.6 kB / 0.7619 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.6349, allocations: 20 kB / 0.7619 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005844/0.6355, allocations: 55.94 kB / 0.7619 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.6357, allocations: 64.91 kB / 0.762 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.6358, allocations: 31.98 kB / 0.762 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005619/0.6363, allocations: 439 kB / 0.7624 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6363, allocations: 0 / 0.7624 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009432/0.6373, allocations: 307.2 kB / 0.7627 GB, free: 4.984 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 (93): * Single equations (assignments): 90 * 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.001956/0.6392, allocations: 0.6191 MB / 0.7633 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.6416, allocations: 0.9984 MB / 0.7643 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6416, allocations: 0 / 0.7643 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009161/0.6425, allocations: 0.513 MB / 0.7648 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.6437, allocations: 286.6 kB / 0.7651 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.6479, allocations: 2.134 MB / 0.7672 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.6487, allocations: 1.012 MB / 0.7682 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00086/0.6496, allocations: 258.3 kB / 0.7684 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002716/0.6498, allocations: 107.4 kB / 0.7685 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of SimCode: time 4.1e-07/0.6498, allocations: 0 / 0.7685 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of Templates: time 0.02643/0.6763, allocations: 14.23 MB / 0.7824 GB, free: 1.164 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)