Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111.1 kB / 16.37 MB, free: 6.012 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.001159/0.001159, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7721/0.7721, allocations: 135.1 MB / 426.3 MB, free: 4.172 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 67.89 kB / 0.5067 GB, free: 7.719 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3587, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00544/0.3642, allocations: 4.918 MB / 0.5906 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.17/0.5343, allocations: 150.9 MB / 0.7379 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.5354, allocations: 19.94 kB / 0.7379 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.5362, allocations: 186.1 kB / 0.7381 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.5381, allocations: 0.5902 MB / 0.7387 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002156/0.5403, allocations: 0.8877 MB / 0.7396 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001648/0.542, allocations: 1.596 MB / 0.7411 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.5433, allocations: 1.063 MB / 0.7422 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008465/0.5441, allocations: 0.685 MB / 0.7428 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000758/0.5449, allocations: 0.735 MB / 0.7436 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001915/0.5451, allocations: 176 kB / 0.7437 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009966/0.5461, allocations: 0.5269 MB / 0.7442 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003649/0.5465, allocations: 422.7 kB / 0.7446 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006657/0.5472, allocations: 0.7771 MB / 0.7454 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.5493, allocations: 2.18 MB / 0.7475 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5493, allocations: 0 / 0.7475 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5493, allocations: 0 / 0.7475 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.5493, allocations: 0 / 0.7475 GB, free: 4.348 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002767/0.5521, allocations: 1.789 MB / 0.7493 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5522, allocations: 8.031 kB / 0.7493 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009433/0.5531, allocations: 238.9 kB / 0.7495 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.5544, allocations: 0.9031 MB / 0.7504 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/0.5545, allocations: 102.9 kB / 0.7505 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.5546, allocations: 136 kB / 0.7506 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2911/0.8457, allocations: 1.423 MB / 0.752 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.147e-05/0.8458, allocations: 6.094 kB / 0.752 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.846, allocations: 58.89 kB / 0.7521 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-05/0.8461, allocations: 33.78 kB / 0.7521 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/0.8494, allocations: 1.513 MB / 0.7536 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006114/0.8556, allocations: 3.725 MB / 0.7572 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.8574, allocations: 0.9541 MB / 0.7581 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.8581, allocations: 395.5 kB / 0.7585 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.8582, allocations: 48.27 kB / 0.7586 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/0.8594, allocations: 0.591 MB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 4.258e-06/0.8594, allocations: 0.5625 kB / 0.7591 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.004047/0.8635, allocations: 1.467 MB / 0.7606 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.8636, allocations: 196 kB / 0.7608 GB, free: 160.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.8648, allocations: 0.764 MB / 0.7615 GB, free: 159.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/0.8649, allocations: 50.39 kB / 0.7616 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.8653, allocations: 0.5603 MB / 0.7621 GB, free: 159.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002604/0.8655, allocations: 346 kB / 0.7624 GB, free: 158.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.8659, allocations: 216.6 kB / 0.7626 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.866, allocations: 351.2 kB / 0.763 GB, free: 158.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.8666, allocations: 360.4 kB / 0.7633 GB, free: 158.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007713/0.8674, allocations: 472 kB / 0.7638 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.8689, allocations: 0.831 MB / 0.7646 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.8689, allocations: 1.156 kB / 0.7646 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00217/0.8711, allocations: 1.108 MB / 0.7657 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8711, allocations: 8.344 kB / 0.7657 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.8711, allocations: 3.938 kB / 0.7657 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005712/0.8717, allocations: 84.42 kB / 0.7658 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.8726, allocations: 228.4 kB / 0.766 GB, free: 156.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.8743, allocations: 1.638 MB / 0.7676 GB, free: 155 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/0.8752, allocations: 113.9 kB / 0.7677 GB, free: 154.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.294e-05/0.8753, allocations: 47.95 kB / 0.7677 GB, free: 154.8 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 (125): * Single equations (assignments): 124 * 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.0005775/0.8759, allocations: 311.8 kB / 0.768 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.8761, allocations: 102.7 kB / 0.7681 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/0.8788, allocations: 1.387 MB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.8788, allocations: 12 kB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.8788, allocations: 1.969 kB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.8789, allocations: 11.91 kB / 0.7695 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.8825, allocations: 2.553 MB / 0.772 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8825, allocations: 0 / 0.772 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/0.8832, allocations: 195.7 kB / 0.7722 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.8836, allocations: 75.81 kB / 0.7723 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.8837, allocations: 29.61 kB / 0.7723 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.8852, allocations: 1.675 MB / 0.7739 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8852, allocations: 0 / 0.7739 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.8871, allocations: 1.173 MB / 0.7751 GB, free: 147.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004042/0.8875, allocations: 319.4 kB / 0.7754 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.8877, allocations: 32.78 kB / 0.7754 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.8883, allocations: 57.8 kB / 0.7755 GB, free: 146.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.8885, allocations: 78.62 kB / 0.7755 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/0.8886, allocations: 41.36 kB / 0.7756 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006143/0.8892, allocations: 0.5693 MB / 0.7761 GB, free: 146 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8892, allocations: 0 / 0.7761 GB, free: 146 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009488/0.8901, allocations: 403.1 kB / 0.7765 GB, free: 145.6 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 (115): * Single equations (assignments): 112 * 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.001287/0.8914, allocations: 0.6128 MB / 0.7771 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.8931, allocations: 1.041 MB / 0.7781 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.8932, allocations: 0 / 0.7781 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008355/0.894, allocations: 0.6048 MB / 0.7787 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.8951, allocations: 308.8 kB / 0.779 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/0.899, allocations: 2.31 MB / 0.7813 GB, free: 141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.8995, allocations: 1.17 MB / 0.7824 GB, free: 139.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007312/0.9003, allocations: 296.8 kB / 0.7827 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.9006, allocations: 135.4 kB / 0.7828 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/0.9006, allocations: 4 kB / 0.7828 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.02532/0.9259, allocations: 17.79 MB / 0.8002 GB, free: 121.8 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)