Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, 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.00128/0.00128, allocations: 196.6 kB / 16.14 MB, free: 6.645 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.383/1.383, allocations: 222.9 MB / 239.8 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9621/0.9621, allocations: 135.1 MB / 425.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.5 kB / 0.5047 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1832, allocations: 80.93 MB / 0.5837 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005944/0.1891, allocations: 4.091 MB / 0.5877 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5336/0.7228, allocations: 148.1 MB / 0.7324 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009374/0.7238, allocations: 15.44 kB / 0.7324 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008066/0.7247, allocations: 135.4 kB / 0.7325 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002017/0.7267, allocations: 401.7 kB / 0.7329 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002404/0.7291, allocations: 0.6784 MB / 0.7335 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001852/0.731, allocations: 1.094 MB / 0.7346 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.7321, allocations: 0.5948 MB / 0.7352 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007833/0.7329, allocations: 361 kB / 0.7355 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005333/0.7334, allocations: 420.8 kB / 0.7359 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001283/0.7335, allocations: 52.19 kB / 0.736 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.7346, allocations: 394.1 kB / 0.7364 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.7349, allocations: 215.3 kB / 0.7366 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000484/0.7354, allocations: 446.3 kB / 0.737 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00169/0.7371, allocations: 1.415 MB / 0.7384 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7371, allocations: 0 / 0.7384 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7371, allocations: 0 / 0.7384 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.404e-05/0.7371, allocations: 0 / 0.7384 GB, free: 11.27 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002478/0.7396, allocations: 1.311 MB / 0.7397 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.648e-05/0.7397, allocations: 9.5 kB / 0.7397 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.7407, allocations: 175.2 kB / 0.7398 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.7417, allocations: 0.6964 MB / 0.7405 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.503e-05/0.7419, allocations: 65.66 kB / 0.7406 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.742, allocations: 73.5 kB / 0.7406 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.7437, allocations: 0.8563 MB / 0.7415 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.7437, allocations: 3.938 kB / 0.7415 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.995e-05/0.7438, allocations: 36.56 kB / 0.7415 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.041e-05/0.7438, allocations: 18.84 kB / 0.7415 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/0.7456, allocations: 1.056 MB / 0.7426 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.7493, allocations: 2.389 MB / 0.7449 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.7505, allocations: 0.7907 MB / 0.7457 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004696/0.751, allocations: 283.1 kB / 0.7459 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.539e-05/0.7511, allocations: 31.88 kB / 0.746 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008111/0.7519, allocations: 420.9 kB / 0.7464 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.124e-06/0.7519, allocations: 0 / 0.7464 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002831/0.7548, allocations: 1.064 MB / 0.7474 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.7549, allocations: 196.8 kB / 0.7476 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.7557, allocations: 0.5806 MB / 0.7482 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.646e-05/0.7557, allocations: 45.64 kB / 0.7482 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.756, allocations: 364.3 kB / 0.7486 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.7562, allocations: 236.6 kB / 0.7488 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.7565, allocations: 146.5 kB / 0.7489 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.7566, allocations: 378.8 kB / 0.7493 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004396/0.7571, allocations: 229.9 kB / 0.7495 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/0.7576, allocations: 326.8 kB / 0.7498 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000966/0.7586, allocations: 0.5468 MB / 0.7504 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.7586, allocations: 0 / 0.7504 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001696/0.7603, allocations: 0.7666 MB / 0.7511 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.7603, allocations: 4 kB / 0.7511 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.7603, allocations: 3.938 kB / 0.7511 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/0.7609, allocations: 80.88 kB / 0.7512 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.7615, allocations: 143.8 kB / 0.7513 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.7638, allocations: 1.532 MB / 0.7528 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.7645, allocations: 79.59 kB / 0.7529 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.631e-05/0.7646, allocations: 31.98 kB / 0.7529 GB, free: 15.39 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 (81): * Single equations (assignments): 80 * 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.0003988/0.765, allocations: 253.6 kB / 0.7532 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.7651, allocations: 75.22 kB / 0.7532 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.7672, allocations: 0.9623 MB / 0.7542 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.7673, allocations: 13.12 kB / 0.7542 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.7673, allocations: 0 / 0.7542 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.7673, allocations: 3.984 kB / 0.7542 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002924/0.7702, allocations: 1.836 MB / 0.756 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7702, allocations: 4 kB / 0.756 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.7708, allocations: 135.8 kB / 0.7561 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/0.7713, allocations: 84.81 kB / 0.7562 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/0.7713, allocations: 23.98 kB / 0.7562 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.7731, allocations: 1.555 MB / 0.7577 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7731, allocations: 3.938 kB / 0.7578 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.775, allocations: 0.8908 MB / 0.7586 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.7754, allocations: 255.8 kB / 0.7589 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.7755, allocations: 13.03 kB / 0.7589 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005526/0.776, allocations: 52.5 kB / 0.7589 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.7762, allocations: 64.86 kB / 0.759 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.916e-05/0.7763, allocations: 27.98 kB / 0.759 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005601/0.7768, allocations: 427 kB / 0.7594 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7768, allocations: 0 / 0.7594 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008853/0.7777, allocations: 279.4 kB / 0.7597 GB, free: 8.223 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 (81): * Single equations (assignments): 78 * 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.001383/0.7791, allocations: 0.6035 MB / 0.7603 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001628/0.7808, allocations: 0.7469 MB / 0.761 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7808, allocations: 0 / 0.761 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.7816, allocations: 488.4 kB / 0.7615 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.7828, allocations: 264 kB / 0.7617 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/0.7867, allocations: 2.001 MB / 0.7637 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.7873, allocations: 0.997 MB / 0.7647 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008448/0.7882, allocations: 250 kB / 0.7649 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.7885, allocations: 91.39 kB / 0.765 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of SimCode: time 2.164e-06/0.7885, allocations: 0 / 0.765 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of Templates: time 0.02254/0.811, allocations: 13.12 MB / 0.7778 GB, free: 6 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)