Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001547/0.001547, allocations: 197.2 kB / 16.14 MB, free: 6.734 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7358/0.7358, allocations: 132.2 MB / 422.2 MB, free: 2.004 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.31 kB / 0.5011 GB, free: 9.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1702, allocations: 80.2 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005769/0.1761, allocations: 4.189 MB / 0.5835 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5241/0.7002, allocations: 148.3 MB / 0.7284 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008788/0.7011, allocations: 19.75 kB / 0.7284 GB, free: 3.254 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005272/0.7016, allocations: 135.1 kB / 0.7285 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.7031, allocations: 425.8 kB / 0.7289 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001872/0.705, allocations: 0.6846 MB / 0.7296 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.7061, allocations: 1.132 MB / 0.7307 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.707, allocations: 0.5959 MB / 0.7313 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005816/0.7075, allocations: 389.7 kB / 0.7316 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000455/0.708, allocations: 429.7 kB / 0.7321 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.7081, allocations: 52.19 kB / 0.7321 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009642/0.7091, allocations: 397.6 kB / 0.7325 GB, free: 1.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.7094, allocations: 227 kB / 0.7327 GB, free: 1.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.7099, allocations: 457.7 kB / 0.7331 GB, free: 0.793 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001524/0.7114, allocations: 1.415 MB / 0.7345 GB, free: 216 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.7114, allocations: 4 kB / 0.7345 GB, free: 212 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7114, allocations: 1.281 kB / 0.7345 GB, free: 212 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.7114, allocations: 0 / 0.7345 GB, free: 212 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002322/0.7138, allocations: 1.342 MB / 0.7358 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.7138, allocations: 8.625 kB / 0.7358 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/0.7148, allocations: 182.5 kB / 0.736 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.7159, allocations: 0.7155 MB / 0.7367 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.716, allocations: 56.53 kB / 0.7368 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.7161, allocations: 80.53 kB / 0.7368 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.7176, allocations: 0.8881 MB / 0.7377 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7176, allocations: 1.656 kB / 0.7377 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.159e-05/0.7177, allocations: 39.28 kB / 0.7378 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.7177, allocations: 23.19 kB / 0.7378 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.7195, allocations: 1.098 MB / 0.7388 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/0.7234, allocations: 2.493 MB / 0.7413 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.7247, allocations: 0.7313 MB / 0.742 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004832/0.7252, allocations: 287.7 kB / 0.7423 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-05/0.7253, allocations: 37.22 kB / 0.7423 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008561/0.7262, allocations: 445.1 kB / 0.7427 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.354e-06/0.7262, allocations: 0 / 0.7427 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.003215/0.7294, allocations: 1.115 MB / 0.7438 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.7295, allocations: 192 kB / 0.744 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.7304, allocations: 0.6053 MB / 0.7446 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.7304, allocations: 40.36 kB / 0.7446 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.7308, allocations: 379.4 kB / 0.745 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.731, allocations: 253.4 kB / 0.7452 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.7313, allocations: 162.3 kB / 0.7454 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.7315, allocations: 378.8 kB / 0.7457 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.732, allocations: 254.1 kB / 0.746 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.7325, allocations: 342.3 kB / 0.7463 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.7336, allocations: 0.5877 MB / 0.7469 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7336, allocations: 0 / 0.7469 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001975/0.7356, allocations: 0.8175 MB / 0.7477 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.7356, allocations: 8.094 kB / 0.7477 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/0.7356, allocations: 7.984 kB / 0.7477 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006291/0.7363, allocations: 72.78 kB / 0.7478 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.7369, allocations: 163.8 kB / 0.7479 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.739, allocations: 1.512 MB / 0.7494 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.7398, allocations: 88.14 kB / 0.7495 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.7398, allocations: 35.97 kB / 0.7495 GB, free: 4.641 MB / 0.5606 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 (89): * Single equations (assignments): 88 * 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.0004658/0.7403, allocations: 259.3 kB / 0.7498 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.7405, allocations: 83.05 kB / 0.7499 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.7428, allocations: 1.021 MB / 0.7508 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.7428, allocations: 15.98 kB / 0.7509 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7428, allocations: 3.938 kB / 0.7509 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.7428, allocations: 3.984 kB / 0.7509 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.7459, allocations: 1.875 MB / 0.7527 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.746, allocations: 0 / 0.7527 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005719/0.7465, allocations: 147.8 kB / 0.7528 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005027/0.747, allocations: 76.78 kB / 0.7529 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.7471, allocations: 27.92 kB / 0.7529 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/0.749, allocations: 1.552 MB / 0.7545 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.749, allocations: 2 kB / 0.7545 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.7509, allocations: 0.9297 MB / 0.7554 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003284/0.7512, allocations: 255.8 kB / 0.7556 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.7513, allocations: 19.98 kB / 0.7556 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.7519, allocations: 51.7 kB / 0.7557 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.7521, allocations: 64.91 kB / 0.7557 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.857e-05/0.7521, allocations: 35.92 kB / 0.7558 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006443/0.7528, allocations: 443 kB / 0.7562 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7528, allocations: 0 / 0.7562 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001048/0.7539, allocations: 295.3 kB / 0.7565 GB, free: 13.27 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 (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.001315/0.7552, allocations: 0.5978 MB / 0.7571 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7567, allocations: 0.7919 MB / 0.7578 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7568, allocations: 0 / 0.7578 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.7576, allocations: 0.4887 MB / 0.7583 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001141/0.7588, allocations: 262.8 kB / 0.7586 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003716/0.7625, allocations: 2.089 MB / 0.7606 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.763, allocations: 1.012 MB / 0.7616 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008095/0.7639, allocations: 254.3 kB / 0.7618 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.7641, allocations: 107.4 kB / 0.7619 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.7641, allocations: 0 / 0.7619 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.02192/0.786, allocations: 13.56 MB / 0.7752 GB, free: 10.46 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)