Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006301/0.006301, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001764/0.001764, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.784/0.784, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.5813 GB, free: 7.539 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5344, allocations: 80.21 MB / 0.6596 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006247/0.5407, allocations: 4.902 MB / 0.6644 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1918/0.7325, allocations: 150.9 MB / 0.8118 GB, free: 9.762 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001724/0.7343, allocations: 23.88 kB / 0.8118 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.7355, allocations: 186.1 kB / 0.812 GB, free: 9.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003293/0.7388, allocations: 0.6017 MB / 0.8126 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003008/0.7418, allocations: 0.8968 MB / 0.8135 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.7444, allocations: 1.577 MB / 0.815 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.7461, allocations: 1.075 MB / 0.8161 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.7474, allocations: 0.685 MB / 0.8167 GB, free: 4.684 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.7486, allocations: 0.7389 MB / 0.8175 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005287/0.7491, allocations: 176 kB / 0.8176 GB, free: 3.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.7504, allocations: 0.5347 MB / 0.8182 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003834/0.7508, allocations: 418.6 kB / 0.8186 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006896/0.7515, allocations: 0.781 MB / 0.8193 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.7538, allocations: 2.179 MB / 0.8214 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.7538, allocations: 0 / 0.8214 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.293e-06/0.7538, allocations: 0 / 0.8214 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.7539, allocations: 3.984 kB / 0.8214 GB, free: 15.85 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002881/0.7567, allocations: 1.779 MB / 0.8232 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7568, allocations: 12.03 kB / 0.8232 GB, free: 14.01 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/0.7577, allocations: 234.8 kB / 0.8234 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.759, allocations: 0.9032 MB / 0.8243 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.7591, allocations: 106.9 kB / 0.8244 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.7593, allocations: 144 kB / 0.8245 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.7615, allocations: 1.424 MB / 0.8259 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.7615, allocations: 0 / 0.8259 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.7616, allocations: 60 kB / 0.826 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.598e-05/0.7616, allocations: 32 kB / 0.826 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.764, allocations: 1.521 MB / 0.8275 GB, free: 9.488 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005627/0.7696, allocations: 3.724 MB / 0.8311 GB, free: 5.684 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.7712, allocations: 0.9621 MB / 0.8321 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.7719, allocations: 395.7 kB / 0.8325 GB, free: 4.332 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.772, allocations: 52.98 kB / 0.8325 GB, free: 4.281 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009662/0.773, allocations: 0.5787 MB / 0.8331 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=104): time 2.716e-06/0.773, allocations: 0 / 0.8331 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of matching and sorting (n=104): time 0.003559/0.7766, allocations: 1.473 MB / 0.8345 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.7767, allocations: 192.9 kB / 0.8347 GB, free: 1.953 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.7777, allocations: 0.7669 MB / 0.8354 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.7777, allocations: 41.7 kB / 0.8355 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004412/0.7782, allocations: 0.5582 MB / 0.836 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003185/0.7785, allocations: 347 kB / 0.8364 GB, free: 228 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003221/0.7789, allocations: 214.7 kB / 0.8366 GB, free: 8 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.779, allocations: 345.9 kB / 0.8369 GB, free: 15.66 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.7797, allocations: 358.4 kB / 0.8372 GB, free: 15.31 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007646/0.7804, allocations: 474.2 kB / 0.8377 GB, free: 14.83 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.7819, allocations: 0.8234 MB / 0.8385 GB, free: 14 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.7819, allocations: 11.88 kB / 0.8385 GB, free: 13.99 MB / 0.67 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002314/0.7842, allocations: 1.114 MB / 0.8396 GB, free: 12.86 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7842, allocations: 8.094 kB / 0.8396 GB, free: 12.86 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.7843, allocations: 7.938 kB / 0.8396 GB, free: 12.85 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000579/0.7848, allocations: 80.77 kB / 0.8397 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008995/0.7858, allocations: 227.7 kB / 0.8399 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.7878, allocations: 1.649 MB / 0.8415 GB, free: 10.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007714/0.7886, allocations: 115 kB / 0.8416 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.988e-05/0.7887, allocations: 51.95 kB / 0.8417 GB, free: 10.59 MB / 0.67 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.0004927/0.7892, allocations: 315 kB / 0.842 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.7894, allocations: 102.7 kB / 0.8421 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.7924, allocations: 1.376 MB / 0.8434 GB, free: 8.773 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.7924, allocations: 15.94 kB / 0.8434 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.7924, allocations: 0 / 0.8434 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.7924, allocations: 7.969 kB / 0.8434 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/0.7963, allocations: 2.556 MB / 0.8459 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.7963, allocations: 4 kB / 0.8459 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.7971, allocations: 191.7 kB / 0.8461 GB, free: 5.941 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/0.7975, allocations: 72.78 kB / 0.8462 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.7976, allocations: 31.98 kB / 0.8462 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/0.7994, allocations: 1.674 MB / 0.8479 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7994, allocations: 0 / 0.8479 GB, free: 4.02 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.8016, allocations: 1.17 MB / 0.849 GB, free: 2.828 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.802, allocations: 319.4 kB / 0.8493 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.8021, allocations: 31.84 kB / 0.8493 GB, free: 2.465 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006558/0.8027, allocations: 54.61 kB / 0.8494 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.8029, allocations: 80.88 kB / 0.8495 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.803, allocations: 43.92 kB / 0.8495 GB, free: 2.293 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007729/0.8038, allocations: 0.5693 MB / 0.8501 GB, free: 1.73 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8038, allocations: 4 kB / 0.8501 GB, free: 1.727 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001129/0.8049, allocations: 410.6 kB / 0.8505 GB, free: 1.324 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 (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.001357/0.8063, allocations: 0.5836 MB / 0.851 GB, free: 0.9453 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.8083, allocations: 1.042 MB / 0.852 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.8083, allocations: 0 / 0.852 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009989/0.8093, allocations: 0.6095 MB / 0.8526 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.8105, allocations: 307.9 kB / 0.8529 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004409/0.8149, allocations: 2.329 MB / 0.8552 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000744/0.8156, allocations: 1.172 MB / 0.8563 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008886/0.8165, allocations: 296.3 kB / 0.8566 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.8169, allocations: 127.4 kB / 0.8568 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of SimCode: time 9.01e-07/0.8169, allocations: 0 / 0.8568 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of Templates: time 0.4608/1.278, allocations: 18.01 MB / 0.8743 GB, free: 191.4 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)