Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.01/0.01, allocations: 180.8 kB / 16.26 MB, free: 6.605 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1/1, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003397, allocations: 12 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1706, allocations: 82.31 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005277/0.1759, allocations: 3.799 MB / 0.5917 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4645/0.6405, allocations: 146.6 MB / 0.7349 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000929/0.6415, allocations: 13.5 kB / 0.7349 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006194/0.6421, allocations: 144.4 kB / 0.735 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.6436, allocations: 410.9 kB / 0.7354 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.6461, allocations: 0.7213 MB / 0.7361 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001525/0.6477, allocations: 1.138 MB / 0.7373 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001295/0.649, allocations: 0.6005 MB / 0.7378 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.6497, allocations: 321.8 kB / 0.7381 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006544/0.6504, allocations: 349.5 kB / 0.7385 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.817e-05/0.6505, allocations: 22.12 kB / 0.7385 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.6519, allocations: 385.1 kB / 0.7389 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.6522, allocations: 179.9 kB / 0.739 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005224/0.6527, allocations: 427.5 kB / 0.7394 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.655, allocations: 1.408 MB / 0.7408 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.655, allocations: 0 / 0.7408 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.053e-06/0.655, allocations: 4 kB / 0.7408 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.932e-05/0.6551, allocations: 0 / 0.7408 GB, free: 11.8 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002905/0.658, allocations: 1.15 MB / 0.7419 GB, free: 11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.658, allocations: 10.84 kB / 0.742 GB, free: 11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/0.6595, allocations: 191.8 kB / 0.7421 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.661, allocations: 0.7124 MB / 0.7428 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.079e-05/0.6612, allocations: 62.94 kB / 0.7429 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.6613, allocations: 76.97 kB / 0.743 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/0.6636, allocations: 0.9057 MB / 0.7439 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.6636, allocations: 1.375 kB / 0.7439 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.6637, allocations: 36.25 kB / 0.7439 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.6638, allocations: 20.62 kB / 0.7439 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.6659, allocations: 1.106 MB / 0.745 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004531/0.6705, allocations: 2.557 MB / 0.7475 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.6724, allocations: 0.8754 MB / 0.7483 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.6729, allocations: 299.5 kB / 0.7486 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-05/0.673, allocations: 36.45 kB / 0.7487 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007679/0.6738, allocations: 448.8 kB / 0.7491 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.715e-06/0.6738, allocations: 0 / 0.7491 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.00289/0.6767, allocations: 1.134 MB / 0.7502 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.6768, allocations: 192.6 kB / 0.7504 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007643/0.6776, allocations: 0.5951 MB / 0.751 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.861e-05/0.6776, allocations: 45.7 kB / 0.751 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.6779, allocations: 380.4 kB / 0.7514 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002033/0.6781, allocations: 252.3 kB / 0.7516 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.522e-05/0.6782, allocations: 65.69 kB / 0.7517 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.6784, allocations: 382.7 kB / 0.752 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004916/0.6789, allocations: 253.9 kB / 0.7523 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.6795, allocations: 347.1 kB / 0.7526 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6806, allocations: 0.5877 MB / 0.7532 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6806, allocations: 4 kB / 0.7532 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001831/0.6825, allocations: 0.8176 MB / 0.754 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.6825, allocations: 10.19 kB / 0.754 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6825, allocations: 4.062 kB / 0.754 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.6831, allocations: 80.77 kB / 0.7541 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006406/0.6838, allocations: 163.8 kB / 0.7542 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.6859, allocations: 1.517 MB / 0.7557 GB, free: 128 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/0.6866, allocations: 95.39 kB / 0.7558 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.057e-05/0.6867, allocations: 36.05 kB / 0.7558 GB, free: 15.99 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: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (88): * Single equations (assignments): 87 * 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.0003986/0.6871, allocations: 260.8 kB / 0.7561 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.6873, allocations: 86.91 kB / 0.7562 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002324/0.6896, allocations: 1.059 MB / 0.7572 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.6896, allocations: 8 kB / 0.7572 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.6896, allocations: 0 / 0.7572 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6896, allocations: 4.859 kB / 0.7572 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/0.6928, allocations: 1.951 MB / 0.7591 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.6928, allocations: 3.938 kB / 0.7591 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.6934, allocations: 159.8 kB / 0.7593 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/0.694, allocations: 80.78 kB / 0.7594 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.694, allocations: 23.98 kB / 0.7594 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001803/0.6958, allocations: 1.552 MB / 0.7609 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6959, allocations: 0 / 0.7609 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6977, allocations: 0.9649 MB / 0.7618 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.6981, allocations: 275.7 kB / 0.7621 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.6982, allocations: 28 kB / 0.7621 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.6989, allocations: 67.88 kB / 0.7622 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.699, allocations: 72.84 kB / 0.7623 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.6991, allocations: 32.12 kB / 0.7623 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005343/0.6996, allocations: 435 kB / 0.7627 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6996, allocations: 0 / 0.7627 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009706/0.7006, allocations: 307.2 kB / 0.763 GB, free: 8.414 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 (93): * Single equations (assignments): 90 * 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.001373/0.702, allocations: 0.6087 MB / 0.7636 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.7036, allocations: 0.7997 MB / 0.7644 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7036, allocations: 7.922 kB / 0.7644 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009005/0.7045, allocations: 0.5122 MB / 0.7649 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/0.7058, allocations: 263.2 kB / 0.7651 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.7098, allocations: 2.183 MB / 0.7673 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.7103, allocations: 1.012 MB / 0.7683 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008208/0.7112, allocations: 266.2 kB / 0.7685 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.7114, allocations: 111.4 kB / 0.7686 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of SimCode: time 3.4e-07/0.7114, allocations: 0 / 0.7686 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of Templates: time 0.02303/0.7345, allocations: 13.66 MB / 0.782 GB, free: 5.277 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)