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.001186/0.001186, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001284/0.001284, allocations: 199.4 kB / 17.3 MB, free: 5.516 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.2/1.2, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7294/0.7294, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.89 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2829, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004354/0.2873, allocations: 4.206 MB / 0.5899 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1324/0.4198, allocations: 150.6 MB / 0.7369 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00064/0.4204, allocations: 19.94 kB / 0.7369 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.421, allocations: 174.3 kB / 0.7371 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001238/0.4222, allocations: 480.2 kB / 0.7375 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.4238, allocations: 0.8373 MB / 0.7384 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000962/0.4248, allocations: 1.227 MB / 0.7395 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007317/0.4256, allocations: 0.6387 MB / 0.7402 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.426, allocations: 450.4 kB / 0.7406 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004368/0.4264, allocations: 473.8 kB / 0.7411 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.4266, allocations: 104 kB / 0.7412 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.4272, allocations: 499.6 kB / 0.7416 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.4274, allocations: 279.1 kB / 0.7419 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00037/0.4278, allocations: 0.5051 MB / 0.7424 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001268/0.4291, allocations: 1.546 MB / 0.7439 GB, free: 8.051 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.4291, allocations: 4 kB / 0.7439 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.4291, allocations: 0 / 0.7439 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.4291, allocations: 0 / 0.7439 GB, free: 8.047 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001906/0.431, allocations: 1.365 MB / 0.7452 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.923e-05/0.4311, allocations: 9.109 kB / 0.7452 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007922/0.4319, allocations: 175.4 kB / 0.7454 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009595/0.4328, allocations: 0.7345 MB / 0.7461 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.327e-05/0.4329, allocations: 66 kB / 0.7462 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-05/0.433, allocations: 80 kB / 0.7463 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.4343, allocations: 0.8911 MB / 0.7471 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4343, allocations: 8 kB / 0.7471 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.215e-05/0.4344, allocations: 36 kB / 0.7472 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.4344, allocations: 20 kB / 0.7472 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.4359, allocations: 1.096 MB / 0.7483 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/0.4394, allocations: 2.492 MB / 0.7507 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2121/0.6515, allocations: 0.8685 MB / 0.7516 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006602/0.6522, allocations: 285.8 kB / 0.7518 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.48e-05/0.6523, allocations: 34.77 kB / 0.7519 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/0.653, allocations: 446.2 kB / 0.7523 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.653, allocations: 0 / 0.7523 GB, free: 165.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.002744/0.6558, allocations: 1.119 MB / 0.7534 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.6558, allocations: 192.3 kB / 0.7536 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000577/0.6564, allocations: 0.5949 MB / 0.7541 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.6565, allocations: 45.23 kB / 0.7542 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.6567, allocations: 379 kB / 0.7545 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.6568, allocations: 253.1 kB / 0.7548 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.657, allocations: 162.7 kB / 0.7549 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.6571, allocations: 382.8 kB / 0.7553 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004539/0.6576, allocations: 249 kB / 0.7555 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.6581, allocations: 341.3 kB / 0.7559 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009485/0.6591, allocations: 0.5815 MB / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6591, allocations: 0 / 0.7564 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001712/0.6608, allocations: 0.8175 MB / 0.7572 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6609, allocations: 10.31 kB / 0.7572 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6609, allocations: 3.656 kB / 0.7572 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.6614, allocations: 80.66 kB / 0.7573 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006011/0.662, allocations: 156.5 kB / 0.7575 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.6637, allocations: 1.624 MB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005772/0.6643, allocations: 84.28 kB / 0.7591 GB, free: 161 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.6643, allocations: 41.47 kB / 0.7592 GB, free: 161 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.000301/0.6646, allocations: 261.3 kB / 0.7594 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6648, allocations: 77.72 kB / 0.7595 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002271/0.6671, allocations: 1.061 MB / 0.7605 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.6671, allocations: 9.562 kB / 0.7606 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.6671, allocations: 1.219 kB / 0.7606 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.6671, allocations: 3.281 kB / 0.7606 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002732/0.6699, allocations: 1.933 MB / 0.7624 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6699, allocations: 0 / 0.7624 GB, free: 159.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.6704, allocations: 158.5 kB / 0.7626 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/0.6708, allocations: 73.03 kB / 0.7627 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.6709, allocations: 23.7 kB / 0.7627 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/0.6722, allocations: 1.665 MB / 0.7643 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6722, allocations: 1.25 kB / 0.7643 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.6737, allocations: 0.959 MB / 0.7652 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.674, allocations: 264.4 kB / 0.7655 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.193e-05/0.6741, allocations: 20.25 kB / 0.7655 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005053/0.6746, allocations: 59.06 kB / 0.7656 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-05/0.6747, allocations: 65.56 kB / 0.7656 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.6747, allocations: 35.33 kB / 0.7657 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003466/0.6751, allocations: 434.1 kB / 0.7661 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6751, allocations: 0 / 0.7661 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006334/0.6757, allocations: 318.1 kB / 0.7664 GB, free: 156.4 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.001087/0.6768, allocations: 0.6233 MB / 0.767 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.678, allocations: 0.7951 MB / 0.7678 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.678, allocations: 0 / 0.7678 GB, free: 155.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.6786, allocations: 0.5054 MB / 0.7683 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.6795, allocations: 290.2 kB / 0.7685 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.6821, allocations: 1.69 MB / 0.7702 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002934/0.6824, allocations: 1.017 MB / 0.7712 GB, free: 151.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0005554/0.683, allocations: 267.8 kB / 0.7714 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.6832, allocations: 95.39 kB / 0.7715 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.6832, allocations: 0 / 0.7715 GB, free: 151.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.1882/0.8714, allocations: 14.32 MB / 0.7855 GB, free: 137.4 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)