Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009614/0.0009615, allocations: 108 kB / 15.61 MB, free: 152 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.0009655/0.0009655, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.198/1.198, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6961/0.6961, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 64.48 kB / 0.5018 GB, free: 8.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1486, allocations: 80.2 MB / 0.5801 GB, free: 8.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006602/0.1553, allocations: 4.197 MB / 0.5842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3666/0.5219, allocations: 150.6 MB / 0.7312 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009109/0.5229, allocations: 15.25 kB / 0.7313 GB, free: 1.133 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007741/0.5237, allocations: 169.6 kB / 0.7314 GB, free: 1.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.5256, allocations: 484 kB / 0.7319 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002298/0.5279, allocations: 0.8304 MB / 0.7327 GB, free: 344 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.5297, allocations: 1.22 MB / 0.7339 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.5309, allocations: 0.6306 MB / 0.7345 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007263/0.5316, allocations: 449.3 kB / 0.7349 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007408/0.5323, allocations: 474.6 kB / 0.7354 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002566/0.5326, allocations: 105.1 kB / 0.7355 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.5337, allocations: 470.3 kB / 0.7359 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002879/0.534, allocations: 281.8 kB / 0.7362 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.5347, allocations: 0.5039 MB / 0.7367 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002303/0.537, allocations: 1.499 MB / 0.7381 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.537, allocations: 0 / 0.7381 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.537, allocations: 3.938 kB / 0.7382 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.127e-05/0.5371, allocations: 0 / 0.7382 GB, free: 13.63 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.002852/0.5399, allocations: 1.362 MB / 0.7395 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.54, allocations: 12.34 kB / 0.7395 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009833/0.541, allocations: 187.7 kB / 0.7397 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001097/0.5421, allocations: 0.7007 MB / 0.7404 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/0.5421, allocations: 68 kB / 0.7404 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.5423, allocations: 76.47 kB / 0.7405 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5438, allocations: 0.9055 MB / 0.7414 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5438, allocations: 0 / 0.7414 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.971e-05/0.5439, allocations: 37.62 kB / 0.7414 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.5439, allocations: 23.23 kB / 0.7414 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.5456, allocations: 1.092 MB / 0.7425 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.5493, allocations: 2.527 MB / 0.745 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.551, allocations: 0.8685 MB / 0.7458 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.5515, allocations: 289.9 kB / 0.7461 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.5515, allocations: 37.03 kB / 0.7461 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007036/0.5523, allocations: 441.1 kB / 0.7466 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.024e-06/0.5523, allocations: 0 / 0.7466 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002743/0.555, allocations: 1.121 MB / 0.7476 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.5551, allocations: 196.6 kB / 0.7478 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.5558, allocations: 0.5979 MB / 0.7484 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.5559, allocations: 45.45 kB / 0.7485 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.5562, allocations: 384.3 kB / 0.7488 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.5563, allocations: 248.4 kB / 0.7491 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.5566, allocations: 162.4 kB / 0.7492 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5567, allocations: 386.7 kB / 0.7496 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/0.5572, allocations: 245.9 kB / 0.7498 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.5577, allocations: 351 kB / 0.7502 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.5588, allocations: 0.5761 MB / 0.7507 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5588, allocations: 4 kB / 0.7507 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001742/0.5605, allocations: 0.8059 MB / 0.7515 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.5605, allocations: 14.17 kB / 0.7515 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.5606, allocations: 0 / 0.7515 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005444/0.5611, allocations: 76.84 kB / 0.7516 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005699/0.5617, allocations: 159.8 kB / 0.7518 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5636, allocations: 1.627 MB / 0.7533 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006159/0.5642, allocations: 93.28 kB / 0.7534 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.055e-05/0.5643, allocations: 31.97 kB / 0.7535 GB, free: 0.6953 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: 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.0003105/0.5646, allocations: 266.8 kB / 0.7537 GB, free: 440 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5647, allocations: 75.06 kB / 0.7538 GB, free: 364 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.5669, allocations: 1.055 MB / 0.7548 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.5669, allocations: 8 kB / 0.7548 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.5669, allocations: 4 kB / 0.7548 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.5669, allocations: 7.922 kB / 0.7548 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/0.5697, allocations: 1.932 MB / 0.7567 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5698, allocations: 0 / 0.7567 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005349/0.5703, allocations: 159.7 kB / 0.7569 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.5707, allocations: 72.78 kB / 0.7569 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.5708, allocations: 31.98 kB / 0.757 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.5724, allocations: 1.65 MB / 0.7586 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5724, allocations: 3.938 kB / 0.7586 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.5741, allocations: 0.961 MB / 0.7595 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.5744, allocations: 267.8 kB / 0.7598 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5745, allocations: 23.56 kB / 0.7598 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.5751, allocations: 59.94 kB / 0.7599 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.5752, allocations: 60.91 kB / 0.7599 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.539e-05/0.5753, allocations: 31.98 kB / 0.76 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004421/0.5757, allocations: 439 kB / 0.7604 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5757, allocations: 0 / 0.7604 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007431/0.5765, allocations: 307.2 kB / 0.7607 GB, free: 9.066 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.001246/0.5777, allocations: 0.611 MB / 0.7613 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002004/0.5797, allocations: 0.9989 MB / 0.7622 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.5797, allocations: 0 / 0.7622 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008118/0.5806, allocations: 0.5119 MB / 0.7627 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.5817, allocations: 285.4 kB / 0.763 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.585, allocations: 1.722 MB / 0.7647 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005003/0.5855, allocations: 1.016 MB / 0.7657 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000727/0.5862, allocations: 258.2 kB / 0.7659 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.5865, allocations: 107.4 kB / 0.766 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.5865, allocations: 0 / 0.766 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of Templates: time 0.02326/0.6097, allocations: 14.29 MB / 0.78 GB, free: 5.625 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)