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.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002007/0.002007, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9547/0.9547, allocations: 135.1 MB / 425.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.55 kB / 0.5047 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1811, allocations: 80.92 MB / 0.5837 GB, free: 5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.009111/0.1903, allocations: 4.906 MB / 0.5885 GB, free: 68 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5137/0.704, allocations: 148.6 MB / 0.7336 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.7052, allocations: 22.5 kB / 0.7336 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007515/0.7061, allocations: 149.4 kB / 0.7338 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.7084, allocations: 496.4 kB / 0.7342 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.7109, allocations: 0.7882 MB / 0.735 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002185/0.7131, allocations: 1.469 MB / 0.7364 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.7147, allocations: 1.025 MB / 0.7374 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.7158, allocations: 0.6058 MB / 0.738 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.7166, allocations: 0.6919 MB / 0.7387 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.7168, allocations: 104 kB / 0.7388 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.7181, allocations: 446.8 kB / 0.7392 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003734/0.7185, allocations: 343.1 kB / 0.7396 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000712/0.7192, allocations: 0.7123 MB / 0.7402 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.7217, allocations: 2.065 MB / 0.7423 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.7217, allocations: 4 kB / 0.7423 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7217, allocations: 0 / 0.7423 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.11e-05/0.7217, allocations: 1.375 kB / 0.7423 GB, free: 8.355 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.003477/0.7252, allocations: 1.78 MB / 0.744 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7253, allocations: 8.438 kB / 0.744 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.7263, allocations: 236.9 kB / 0.7442 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.7276, allocations: 0.8808 MB / 0.7451 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.295e-05/0.7277, allocations: 108.2 kB / 0.7452 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.7278, allocations: 135.5 kB / 0.7453 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.7301, allocations: 1.433 MB / 0.7467 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.7301, allocations: 0 / 0.7467 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.7303, allocations: 60.94 kB / 0.7468 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.7303, allocations: 39.19 kB / 0.7468 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.7326, allocations: 1.508 MB / 0.7483 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/0.7387, allocations: 3.768 MB / 0.752 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.7404, allocations: 0.964 MB / 0.7529 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.7411, allocations: 403.4 kB / 0.7533 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.642e-05/0.7412, allocations: 44.83 kB / 0.7534 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001068/0.7423, allocations: 0.5759 MB / 0.7539 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 4.097e-06/0.7423, allocations: 7.984 kB / 0.7539 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003773/0.7461, allocations: 1.477 MB / 0.7554 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.7462, allocations: 196.9 kB / 0.7556 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009964/0.7472, allocations: 0.7629 MB / 0.7563 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/0.7473, allocations: 45.7 kB / 0.7563 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004204/0.7477, allocations: 0.5505 MB / 0.7569 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.748, allocations: 346.9 kB / 0.7572 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/0.7483, allocations: 218.7 kB / 0.7574 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.7485, allocations: 345.9 kB / 0.7577 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006792/0.7492, allocations: 362.4 kB / 0.7581 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007966/0.75, allocations: 478.1 kB / 0.7585 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.7515, allocations: 0.8195 MB / 0.7593 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.7515, allocations: 3.938 kB / 0.7594 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002434/0.7539, allocations: 1.11 MB / 0.7604 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.754, allocations: 8.094 kB / 0.7604 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.754, allocations: 4 kB / 0.7604 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006218/0.7546, allocations: 88.7 kB / 0.7605 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000949/0.7556, allocations: 223.2 kB / 0.7607 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.7576, allocations: 1.529 MB / 0.7622 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.7587, allocations: 115 kB / 0.7623 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-05/0.7588, allocations: 55.95 kB / 0.7624 GB, free: 5.727 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.0006194/0.7594, allocations: 301.8 kB / 0.7627 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.7596, allocations: 110.7 kB / 0.7628 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.7627, allocations: 1.382 MB / 0.7641 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.7628, allocations: 8 kB / 0.7642 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7628, allocations: 4 kB / 0.7642 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.7628, allocations: 11.95 kB / 0.7642 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.7676, allocations: 2.564 MB / 0.7667 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7676, allocations: 0 / 0.7667 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.7684, allocations: 191.7 kB / 0.7669 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000509/0.7689, allocations: 86.08 kB / 0.7669 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/0.769, allocations: 27.98 kB / 0.767 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/0.7709, allocations: 1.564 MB / 0.7685 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7709, allocations: 0 / 0.7685 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00259/0.7735, allocations: 1.171 MB / 0.7696 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007574/0.7743, allocations: 319.5 kB / 0.7699 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/0.7746, allocations: 31.97 kB / 0.77 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009884/0.7756, allocations: 68.62 kB / 0.77 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.7758, allocations: 76.89 kB / 0.7701 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-05/0.7759, allocations: 39.97 kB / 0.7701 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000803/0.7767, allocations: 0.5693 MB / 0.7707 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7767, allocations: 0 / 0.7707 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001191/0.7779, allocations: 406.7 kB / 0.7711 GB, free: 12.57 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.001416/0.7794, allocations: 0.6017 MB / 0.7717 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002074/0.7814, allocations: 1.029 MB / 0.7727 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7815, allocations: 192 / 0.7727 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.7825, allocations: 0.621 MB / 0.7733 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.7838, allocations: 282.5 kB / 0.7736 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005262/0.7891, allocations: 2.986 MB / 0.7765 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.7899, allocations: 1.162 MB / 0.7776 GB, free: 6.047 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001067/0.7909, allocations: 296.3 kB / 0.7779 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003561/0.7913, allocations: 139.4 kB / 0.778 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of SimCode: time 1.172e-06/0.7913, allocations: 0 / 0.778 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of Templates: time 0.02814/0.8195, allocations: 17.06 MB / 0.7947 GB, free: 4.703 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)