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.001043/0.001043, allocations: 101.3 kB / 16.37 MB, free: 6.469 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.00101/0.00101, allocations: 191.8 kB / 17.31 MB, free: 5.824 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.222/1.222, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7416/0.7416, allocations: 135.1 MB / 426.3 MB, free: 4.121 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2871, allocations: 80.91 MB / 0.5858 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004357/0.2915, allocations: 4.071 MB / 0.5897 GB, free: 22.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1334/0.4249, allocations: 150.5 MB / 0.7367 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00063/0.4255, allocations: 15.94 kB / 0.7367 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.4261, allocations: 158.5 kB / 0.7368 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.4274, allocations: 483.4 kB / 0.7373 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.4289, allocations: 0.7823 MB / 0.7381 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009651/0.4299, allocations: 1.176 MB / 0.7392 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.4306, allocations: 0.6154 MB / 0.7398 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000439/0.4311, allocations: 426.5 kB / 0.7402 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004054/0.4315, allocations: 446 kB / 0.7406 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.4316, allocations: 104 kB / 0.7407 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006832/0.4323, allocations: 475.6 kB / 0.7412 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4325, allocations: 271.1 kB / 0.7415 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.4329, allocations: 497.4 kB / 0.7419 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.4344, allocations: 1.487 MB / 0.7434 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4344, allocations: 3.938 kB / 0.7434 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4344, allocations: 0 / 0.7434 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.358e-05/0.4344, allocations: 0 / 0.7434 GB, free: 8.602 MB / 0.5762 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.001812/0.4362, allocations: 1.307 MB / 0.7447 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.4362, allocations: 13.11 kB / 0.7447 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.4371, allocations: 175.5 kB / 0.7448 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009594/0.438, allocations: 0.7267 MB / 0.7456 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/0.4381, allocations: 58 kB / 0.7456 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.4382, allocations: 80 kB / 0.7457 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.4394, allocations: 0.8481 MB / 0.7465 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4395, allocations: 4 kB / 0.7465 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.695e-05/0.4395, allocations: 40 kB / 0.7466 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.4396, allocations: 16 kB / 0.7466 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.441, allocations: 1.065 MB / 0.7476 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.4441, allocations: 2.351 MB / 0.7499 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/0.4453, allocations: 0.8015 MB / 0.7507 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/0.4458, allocations: 270.4 kB / 0.7509 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.796e-05/0.4458, allocations: 36.58 kB / 0.751 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.4465, allocations: 409.8 kB / 0.7514 GB, free: 172 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.924e-06/0.4465, allocations: 4 kB / 0.7514 GB, free: 168 kB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.231/0.6775, allocations: 1.064 MB / 0.7524 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.6776, allocations: 190.4 kB / 0.7526 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007147/0.6783, allocations: 0.5855 MB / 0.7532 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.117e-05/0.6784, allocations: 37.7 kB / 0.7532 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002409/0.6786, allocations: 366.3 kB / 0.7536 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.6788, allocations: 233.5 kB / 0.7538 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.679, allocations: 147 kB / 0.7539 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.6791, allocations: 384.2 kB / 0.7543 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.6795, allocations: 233.3 kB / 0.7545 GB, free: 164.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005288/0.68, allocations: 325.8 kB / 0.7548 GB, free: 164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.681, allocations: 0.5442 MB / 0.7553 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.681, allocations: 5.078 kB / 0.7554 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001672/0.6827, allocations: 0.7554 MB / 0.7561 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.6827, allocations: 7.531 kB / 0.7561 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.6827, allocations: 1.656 kB / 0.7561 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.6833, allocations: 82.36 kB / 0.7562 GB, free: 163.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005882/0.6839, allocations: 148.6 kB / 0.7563 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/0.6857, allocations: 1.647 MB / 0.7579 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005504/0.6863, allocations: 80.77 kB / 0.758 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.6863, allocations: 29.16 kB / 0.758 GB, free: 161.9 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.0003568/0.6867, allocations: 255.4 kB / 0.7583 GB, free: 161.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.6868, allocations: 79 kB / 0.7583 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.689, allocations: 0.959 MB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.689, allocations: 11.92 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.689, allocations: 0.5312 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.689, allocations: 4.438 kB / 0.7593 GB, free: 161.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.692, allocations: 1.835 MB / 0.7611 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.692, allocations: 1.656 kB / 0.7611 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/0.6924, allocations: 141.9 kB / 0.7612 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003842/0.6928, allocations: 70.3 kB / 0.7613 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.6929, allocations: 19.73 kB / 0.7613 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.6944, allocations: 1.671 MB / 0.7629 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.6944, allocations: 4.438 kB / 0.763 GB, free: 158.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00155/0.696, allocations: 0.8926 MB / 0.7638 GB, free: 158.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.6963, allocations: 263.3 kB / 0.7641 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.6964, allocations: 16 kB / 0.7641 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.6969, allocations: 50.95 kB / 0.7641 GB, free: 157.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.697, allocations: 57.88 kB / 0.7642 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/0.697, allocations: 33.42 kB / 0.7642 GB, free: 157.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000429/0.6975, allocations: 423.7 kB / 0.7646 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.12e-07/0.6975, allocations: 0 / 0.7646 GB, free: 157.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007631/0.6982, allocations: 289 kB / 0.7649 GB, free: 157.5 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.00116/0.6994, allocations: 0.5921 MB / 0.7655 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001256/0.7007, allocations: 0.7544 MB / 0.7662 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.7007, allocations: 0.7812 kB / 0.7662 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006643/0.7014, allocations: 484.9 kB / 0.7667 GB, free: 156.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009335/0.7023, allocations: 289.6 kB / 0.767 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.7051, allocations: 1.625 MB / 0.7685 GB, free: 154.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.7054, allocations: 0.9932 MB / 0.7695 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000582/0.706, allocations: 247.1 kB / 0.7698 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.7062, allocations: 95.38 kB / 0.7698 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of SimCode: time 4.01e-07/0.7062, allocations: 4.406 kB / 0.7698 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.01641/0.7226, allocations: 13.63 MB / 0.7832 GB, free: 140 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)