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.001262/0.001261, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001525/0.001525, allocations: 189.4 kB / 16.25 MB, free: 6.152 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 68.31 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1819, allocations: 80.94 MB / 0.5839 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007854/0.1898, allocations: 4.901 MB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4994/0.6892, allocations: 148.7 MB / 0.7339 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.6905, allocations: 21.06 kB / 0.7339 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.6916, allocations: 151.7 kB / 0.734 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.6941, allocations: 0.508 MB / 0.7345 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.6969, allocations: 0.8043 MB / 0.7353 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002586/0.6995, allocations: 1.575 MB / 0.7368 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001698/0.7012, allocations: 1.058 MB / 0.7379 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.7024, allocations: 0.6909 MB / 0.7385 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.7037, allocations: 0.7333 MB / 0.7393 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005166/0.7042, allocations: 175 kB / 0.7394 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001431/0.7056, allocations: 0.5098 MB / 0.7399 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000629/0.7063, allocations: 421.3 kB / 0.7403 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.7075, allocations: 0.7793 MB / 0.7411 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002882/0.7104, allocations: 2.124 MB / 0.7432 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.7104, allocations: 4 kB / 0.7432 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7104, allocations: 0 / 0.7432 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.043e-05/0.7105, allocations: 3.375 kB / 0.7432 GB, free: 8.141 MB / 0.5606 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.003627/0.7142, allocations: 1.786 MB / 0.7449 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.7142, allocations: 9.844 kB / 0.7449 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/0.7152, allocations: 229.3 kB / 0.7451 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.7164, allocations: 0.88 MB / 0.746 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.446e-05/0.7164, allocations: 116 kB / 0.7461 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.7166, allocations: 136 kB / 0.7462 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.7189, allocations: 1.43 MB / 0.7476 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.7189, allocations: 0 / 0.7476 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.719, allocations: 58.25 kB / 0.7477 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.719, allocations: 35.22 kB / 0.7477 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.7213, allocations: 1.515 MB / 0.7492 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00574/0.7271, allocations: 3.782 MB / 0.7529 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.7287, allocations: 0.9492 MB / 0.7538 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006421/0.7293, allocations: 407.7 kB / 0.7542 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-05/0.7295, allocations: 41 kB / 0.7543 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.7306, allocations: 0.5709 MB / 0.7548 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.715e-06/0.7306, allocations: 4 kB / 0.7548 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003884/0.7345, allocations: 1.477 MB / 0.7563 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.7346, allocations: 192.9 kB / 0.7564 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/0.7358, allocations: 0.7668 MB / 0.7572 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.7359, allocations: 45.69 kB / 0.7572 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/0.7365, allocations: 0.5505 MB / 0.7578 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.7369, allocations: 343 kB / 0.7581 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.7374, allocations: 222.7 kB / 0.7583 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.7376, allocations: 345.9 kB / 0.7586 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008002/0.7384, allocations: 358.4 kB / 0.759 GB, free: 9.461 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.7393, allocations: 474.2 kB / 0.7594 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.7408, allocations: 0.8312 MB / 0.7602 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.7409, allocations: 2.812 kB / 0.7603 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002522/0.7434, allocations: 1.114 MB / 0.7613 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.7434, allocations: 4 kB / 0.7613 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.7434, allocations: 4 kB / 0.7613 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/0.7441, allocations: 84.78 kB / 0.7614 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.7451, allocations: 223.7 kB / 0.7616 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/0.7475, allocations: 1.649 MB / 0.7633 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000977/0.7485, allocations: 122.9 kB / 0.7634 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.7486, allocations: 47.95 kB / 0.7634 GB, free: 4.742 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.0006144/0.7492, allocations: 313.6 kB / 0.7637 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002382/0.7495, allocations: 102.8 kB / 0.7638 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003316/0.7528, allocations: 1.375 MB / 0.7652 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.7528, allocations: 16 kB / 0.7652 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.7528, allocations: 4.625 kB / 0.7652 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.7529, allocations: 11.97 kB / 0.7652 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004548/0.7574, allocations: 2.56 MB / 0.7677 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.7574, allocations: 0 / 0.7677 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008205/0.7583, allocations: 191.7 kB / 0.7679 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000467/0.7587, allocations: 73.78 kB / 0.7679 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.811e-05/0.7588, allocations: 27.98 kB / 0.768 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/0.7608, allocations: 1.678 MB / 0.7696 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.7609, allocations: 0 / 0.7696 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.7632, allocations: 1.168 MB / 0.7707 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005041/0.7638, allocations: 323.4 kB / 0.7711 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.764, allocations: 39.53 kB / 0.7711 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007742/0.7648, allocations: 59.94 kB / 0.7711 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.7649, allocations: 72.89 kB / 0.7712 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.433e-05/0.765, allocations: 39.98 kB / 0.7713 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008402/0.7659, allocations: 0.5693 MB / 0.7718 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7659, allocations: 0 / 0.7718 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001208/0.7671, allocations: 414.6 kB / 0.7722 GB, free: 11.47 MB / 0.5919 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.00155/0.7687, allocations: 0.6069 MB / 0.7728 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003207/0.7719, allocations: 1.286 MB / 0.7741 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7719, allocations: 0 / 0.7741 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.773, allocations: 0.6095 MB / 0.7747 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.7744, allocations: 312.3 kB / 0.7749 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.7801, allocations: 2.982 MB / 0.7779 GB, free: 5.867 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.7812, allocations: 1.158 MB / 0.779 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001145/0.7823, allocations: 304.3 kB / 0.7793 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.7828, allocations: 131.4 kB / 0.7794 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.7828, allocations: 0 / 0.7794 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.03352/0.8163, allocations: 17.73 MB / 0.7967 GB, free: 2.68 MB / 0.6075 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)