Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005209/0.005209, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001204/0.001204, allocations: 200.2 kB / 16.67 MB, free: 5.977 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.954/0.954, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4501, allocations: 80.91 MB / 0.6646 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006961/0.4571, allocations: 4.142 MB / 0.6687 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1825/0.6396, allocations: 150.5 MB / 0.8156 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.6409, allocations: 15.94 kB / 0.8157 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.6418, allocations: 158.5 kB / 0.8158 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.6442, allocations: 492 kB / 0.8163 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.6467, allocations: 0.7892 MB / 0.817 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.6484, allocations: 1.195 MB / 0.8182 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.6495, allocations: 0.6176 MB / 0.8188 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008086/0.6504, allocations: 438.5 kB / 0.8192 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007586/0.6511, allocations: 454 kB / 0.8197 GB, free: 2.277 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.6514, allocations: 104 kB / 0.8198 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.6526, allocations: 471.5 kB / 0.8202 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.6531, allocations: 267.1 kB / 0.8205 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007462/0.6538, allocations: 0.4974 MB / 0.821 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.6562, allocations: 1.481 MB / 0.8224 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6562, allocations: 4 kB / 0.8224 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6562, allocations: 0 / 0.8224 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.49e-05/0.6562, allocations: 3.938 kB / 0.8224 GB, free: 15.46 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002996/0.6592, allocations: 1.334 MB / 0.8237 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6593, allocations: 12.03 kB / 0.8237 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.6604, allocations: 179.5 kB / 0.8239 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.6618, allocations: 0.7189 MB / 0.8246 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.026e-05/0.6619, allocations: 62 kB / 0.8247 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.662, allocations: 76 kB / 0.8247 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.6637, allocations: 0.8754 MB / 0.8256 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.6637, allocations: 4 kB / 0.8256 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.6638, allocations: 36 kB / 0.8256 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.6638, allocations: 20 kB / 0.8256 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001739/0.6656, allocations: 1.065 MB / 0.8267 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003417/0.669, allocations: 2.344 MB / 0.829 GB, free: 8.535 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.6702, allocations: 0.8032 MB / 0.8298 GB, free: 7.711 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004553/0.6707, allocations: 285.8 kB / 0.83 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.835e-05/0.6708, allocations: 24.69 kB / 0.8301 GB, free: 7.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/0.6715, allocations: 435.2 kB / 0.8305 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=73): time 2.535e-06/0.6715, allocations: 4 kB / 0.8305 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73): time 0.002807/0.6744, allocations: 1.077 MB / 0.8315 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.6745, allocations: 196.6 kB / 0.8317 GB, free: 5.629 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.6752, allocations: 0.5784 MB / 0.8323 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.6752, allocations: 41.7 kB / 0.8323 GB, free: 5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6755, allocations: 376.2 kB / 0.8327 GB, free: 4.625 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000192/0.6757, allocations: 244.5 kB / 0.8329 GB, free: 4.383 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.6759, allocations: 158.5 kB / 0.8331 GB, free: 4.223 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6761, allocations: 378.8 kB / 0.8334 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004584/0.6766, allocations: 237.9 kB / 0.8336 GB, free: 3.609 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.6772, allocations: 328 kB / 0.834 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.6781, allocations: 0.569 MB / 0.8345 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6781, allocations: 4 kB / 0.8345 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001729/0.6799, allocations: 0.7825 MB / 0.8353 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.6799, allocations: 8.125 kB / 0.8353 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.6799, allocations: 3.938 kB / 0.8353 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006038/0.6805, allocations: 84.77 kB / 0.8354 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.6812, allocations: 147.8 kB / 0.8355 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.6837, allocations: 1.634 MB / 0.8371 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.6844, allocations: 75.39 kB / 0.8372 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-05/0.6845, allocations: 31.98 kB / 0.8372 GB, free: 15.77 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (85): * Single equations (assignments): 84 * 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.0005025/0.685, allocations: 259.1 kB / 0.8375 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.6851, allocations: 79 kB / 0.8375 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.6874, allocations: 0.9978 MB / 0.8385 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.6874, allocations: 8 kB / 0.8385 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.6874, allocations: 0 / 0.8385 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.6875, allocations: 3.984 kB / 0.8385 GB, free: 14.41 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.6906, allocations: 1.87 MB / 0.8404 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6906, allocations: 4 kB / 0.8404 GB, free: 12.48 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.6912, allocations: 143.8 kB / 0.8405 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.6916, allocations: 68.8 kB / 0.8406 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.6917, allocations: 27.97 kB / 0.8406 GB, free: 12.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.6936, allocations: 1.662 MB / 0.8422 GB, free: 10.42 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6936, allocations: 3.938 kB / 0.8422 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.6954, allocations: 0.9199 MB / 0.8431 GB, free: 9.477 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.6957, allocations: 255.8 kB / 0.8434 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-05/0.6958, allocations: 16 kB / 0.8434 GB, free: 9.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005087/0.6963, allocations: 51.95 kB / 0.8434 GB, free: 9.141 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.6965, allocations: 64.91 kB / 0.8435 GB, free: 9.074 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.598e-05/0.6965, allocations: 31.98 kB / 0.8435 GB, free: 9.043 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005384/0.6971, allocations: 423 kB / 0.8439 GB, free: 8.637 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6971, allocations: 4 kB / 0.8439 GB, free: 8.633 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009201/0.698, allocations: 287.3 kB / 0.8442 GB, free: 8.352 MB / 0.67 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 (87): * Single equations (assignments): 84 * 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.001419/0.6995, allocations: 0.602 MB / 0.8448 GB, free: 7.922 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.701, allocations: 0.7647 MB / 0.8455 GB, free: 7.148 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.701, allocations: 7.938 kB / 0.8455 GB, free: 7.141 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008501/0.7018, allocations: 496.5 kB / 0.846 GB, free: 6.641 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.7029, allocations: 290.7 kB / 0.8463 GB, free: 6.379 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003396/0.7063, allocations: 1.646 MB / 0.8479 GB, free: 4.703 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.7069, allocations: 0.9993 MB / 0.8489 GB, free: 3.68 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006825/0.7076, allocations: 254 kB / 0.8491 GB, free: 3.43 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.7079, allocations: 103.4 kB / 0.8492 GB, free: 3.328 MB / 0.67 GB Notification: Performance of SimCode: time 3.3e-07/0.7079, allocations: 0 / 0.8492 GB, free: 3.328 MB / 0.67 GB Notification: Performance of Templates: time 0.02648/0.7343, allocations: 13.95 MB / 0.8628 GB, free: 5.531 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1)