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.001504/0.001504, allocations: 103.2 kB / 16.35 MB, free: 5.824 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.001606/0.001606, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7885/0.7885, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4106, allocations: 80.19 MB / 0.5815 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004695/0.4153, allocations: 4.048 MB / 0.5854 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1648/0.5801, allocations: 150.4 MB / 0.7324 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008623/0.581, allocations: 15.94 kB / 0.7324 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007308/0.5817, allocations: 162.5 kB / 0.7325 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.5849, allocations: 463.8 kB / 0.733 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003045/0.588, allocations: 0.7814 MB / 0.7337 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001967/0.5899, allocations: 1.16 MB / 0.7349 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009077/0.5909, allocations: 0.5959 MB / 0.7355 GB, free: 28 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005568/0.5914, allocations: 422.5 kB / 0.7359 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.5919, allocations: 430.1 kB / 0.7363 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.5921, allocations: 103.9 kB / 0.7364 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009695/0.5931, allocations: 475.6 kB / 0.7368 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002423/0.5933, allocations: 263.1 kB / 0.7371 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004027/0.5937, allocations: 497.4 kB / 0.7375 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.5953, allocations: 1.452 MB / 0.739 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5953, allocations: 0 / 0.739 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5953, allocations: 0 / 0.739 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.5954, allocations: 0 / 0.739 GB, free: 12.43 MB / 0.5762 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.002058/0.5974, allocations: 1.299 MB / 0.7402 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.5975, allocations: 8.031 kB / 0.7402 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/0.5983, allocations: 175.5 kB / 0.7404 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001138/0.5995, allocations: 0.719 MB / 0.7411 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.72e-05/0.5995, allocations: 58 kB / 0.7412 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.998e-05/0.5996, allocations: 75.98 kB / 0.7412 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.6011, allocations: 0.8442 MB / 0.7421 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.6011, allocations: 0 / 0.7421 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.6012, allocations: 36 kB / 0.7421 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.6012, allocations: 16 kB / 0.7421 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.6028, allocations: 1.05 MB / 0.7431 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/0.6063, allocations: 2.293 MB / 0.7454 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6075, allocations: 0.7694 MB / 0.7461 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.608, allocations: 270.4 kB / 0.7464 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.173e-05/0.6081, allocations: 32.52 kB / 0.7464 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007167/0.6088, allocations: 417.6 kB / 0.7468 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/0.6088, allocations: 0 / 0.7468 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00273/0.6116, allocations: 1.05 MB / 0.7478 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6117, allocations: 192.4 kB / 0.748 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/0.6125, allocations: 0.586 MB / 0.7486 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.6125, allocations: 41.7 kB / 0.7486 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.6129, allocations: 364.4 kB / 0.749 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.613, allocations: 232.6 kB / 0.7492 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.6133, allocations: 146.5 kB / 0.7493 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6134, allocations: 378.8 kB / 0.7497 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.6138, allocations: 225.9 kB / 0.7499 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005214/0.6144, allocations: 322.8 kB / 0.7502 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3185/0.9329, allocations: 0.5303 MB / 0.7507 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.933, allocations: 0.875 kB / 0.7507 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002374/0.9353, allocations: 0.7563 MB / 0.7515 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9354, allocations: 5.812 kB / 0.7515 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.9354, allocations: 2.375 kB / 0.7515 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006752/0.9361, allocations: 83.7 kB / 0.7516 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.9368, allocations: 140.7 kB / 0.7517 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.9388, allocations: 1.63 MB / 0.7533 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006972/0.9395, allocations: 78.17 kB / 0.7534 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.9396, allocations: 33.47 kB / 0.7534 GB, free: 165.6 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.0004475/0.94, allocations: 254.8 kB / 0.7536 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.9403, allocations: 80.44 kB / 0.7537 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.9427, allocations: 0.9456 MB / 0.7546 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.9427, allocations: 8.406 kB / 0.7547 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.9427, allocations: 3.938 kB / 0.7547 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.9428, allocations: 5.828 kB / 0.7547 GB, free: 165 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.947, allocations: 1.783 MB / 0.7564 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.947, allocations: 5.812 kB / 0.7564 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006362/0.9477, allocations: 135.5 kB / 0.7565 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004928/0.9482, allocations: 72.44 kB / 0.7566 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.092e-05/0.9483, allocations: 24.36 kB / 0.7566 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001836/0.9501, allocations: 1.663 MB / 0.7583 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9501, allocations: 0.8125 kB / 0.7583 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.9523, allocations: 0.8896 MB / 0.7591 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005591/0.9529, allocations: 244.8 kB / 0.7594 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.9531, allocations: 19.03 kB / 0.7594 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.9538, allocations: 53.42 kB / 0.7594 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.9539, allocations: 59.7 kB / 0.7595 GB, free: 162 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/0.954, allocations: 28.67 kB / 0.7595 GB, free: 162 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007965/0.9548, allocations: 420.7 kB / 0.7599 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9549, allocations: 0 / 0.7599 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001429/0.9563, allocations: 285.1 kB / 0.7602 GB, free: 161.7 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.001507/0.9578, allocations: 0.5937 MB / 0.7608 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001569/0.9594, allocations: 0.7411 MB / 0.7615 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.9594, allocations: 3.031 kB / 0.7615 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008192/0.9602, allocations: 479.4 kB / 0.762 GB, free: 160.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.9614, allocations: 294.5 kB / 0.7622 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.9648, allocations: 1.603 MB / 0.7638 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.9652, allocations: 0.9961 MB / 0.7648 GB, free: 159 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007348/0.966, allocations: 238.3 kB / 0.765 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.9662, allocations: 97.77 kB / 0.7651 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.9662, allocations: 0 / 0.7651 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.01855/0.9848, allocations: 13.47 MB / 0.7782 GB, free: 147.2 MB / 0.5762 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)