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.001941/0.001941, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00231/0.00231, allocations: 192.3 kB / 16.25 MB, free: 6.637 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.416/1.416, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9742/0.9742, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.94 kB / 0.5054 GB, free: 5.172 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1553, allocations: 81.02 MB / 0.5845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007109/0.1624, allocations: 4.893 MB / 0.5893 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4176/0.5801, allocations: 148.7 MB / 0.7345 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007396/0.5809, allocations: 18.56 kB / 0.7345 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005851/0.5815, allocations: 149.7 kB / 0.7346 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.5832, allocations: 0.5066 MB / 0.7351 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.5851, allocations: 0.7912 MB / 0.7359 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.587, allocations: 1.588 MB / 0.7375 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.5884, allocations: 1.055 MB / 0.7385 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.5894, allocations: 0.6821 MB / 0.7392 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000812/0.5902, allocations: 0.7401 MB / 0.7399 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002124/0.5904, allocations: 175.3 kB / 0.74 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009739/0.5914, allocations: 0.5043 MB / 0.7405 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003699/0.5918, allocations: 423.5 kB / 0.7409 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007009/0.5925, allocations: 0.7827 MB / 0.7417 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002292/0.5948, allocations: 2.128 MB / 0.7438 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5948, allocations: 0 / 0.7438 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.664e-06/0.5948, allocations: 0 / 0.7438 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.16e-05/0.5949, allocations: 0 / 0.7438 GB, free: 7.609 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.003213/0.5981, allocations: 1.779 MB / 0.7455 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5981, allocations: 10.69 kB / 0.7455 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009841/0.5991, allocations: 237.2 kB / 0.7458 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.6003, allocations: 0.886 MB / 0.7466 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.504e-05/0.6004, allocations: 105 kB / 0.7467 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.6006, allocations: 140 kB / 0.7469 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.603, allocations: 1.424 MB / 0.7482 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.603, allocations: 6.516 kB / 0.7482 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.6032, allocations: 59.81 kB / 0.7483 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.426e-05/0.6032, allocations: 34.94 kB / 0.7483 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.6057, allocations: 1.513 MB / 0.7498 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006243/0.6119, allocations: 3.774 MB / 0.7535 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.6137, allocations: 0.9634 MB / 0.7544 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006924/0.6144, allocations: 395.7 kB / 0.7548 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.6145, allocations: 48.92 kB / 0.7549 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.6156, allocations: 0.5826 MB / 0.7554 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.595e-06/0.6156, allocations: 0 / 0.7554 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003796/0.6194, allocations: 1.477 MB / 0.7569 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.6196, allocations: 192.9 kB / 0.7571 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6206, allocations: 0.7668 MB / 0.7578 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.349e-05/0.6207, allocations: 45.7 kB / 0.7579 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/0.6212, allocations: 0.5544 MB / 0.7584 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.6215, allocations: 340.5 kB / 0.7587 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.6219, allocations: 226.7 kB / 0.7589 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.6221, allocations: 345.9 kB / 0.7593 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007115/0.6228, allocations: 354.4 kB / 0.7596 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/0.6237, allocations: 481.1 kB / 0.7601 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.6252, allocations: 0.8273 MB / 0.7609 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.6252, allocations: 4 kB / 0.7609 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00256/0.6278, allocations: 1.114 MB / 0.762 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.6278, allocations: 6.031 kB / 0.762 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6278, allocations: 0 / 0.762 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006287/0.6285, allocations: 88.78 kB / 0.7621 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/0.6295, allocations: 223.7 kB / 0.7623 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/0.6319, allocations: 1.641 MB / 0.7639 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009497/0.6328, allocations: 106.9 kB / 0.764 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.6329, allocations: 51.95 kB / 0.764 GB, free: 4.02 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.0006064/0.6335, allocations: 323.1 kB / 0.7643 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.6338, allocations: 102.8 kB / 0.7644 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.637, allocations: 1.381 MB / 0.7658 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.637, allocations: 12 kB / 0.7658 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.6371, allocations: 3.938 kB / 0.7658 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.6371, allocations: 11.97 kB / 0.7658 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.6415, allocations: 2.565 MB / 0.7683 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6415, allocations: 0 / 0.7683 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008236/0.6423, allocations: 187.7 kB / 0.7685 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/0.6428, allocations: 80.34 kB / 0.7686 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.6429, allocations: 27.98 kB / 0.7686 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002091/0.645, allocations: 1.678 MB / 0.7702 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.645, allocations: 0 / 0.7702 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.6474, allocations: 1.175 MB / 0.7714 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.6479, allocations: 319.4 kB / 0.7717 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/0.6481, allocations: 27.84 kB / 0.7717 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/0.6488, allocations: 59.94 kB / 0.7718 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/0.649, allocations: 80.89 kB / 0.7718 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.6491, allocations: 40.05 kB / 0.7719 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008103/0.6499, allocations: 0.5732 MB / 0.7724 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6499, allocations: 0 / 0.7724 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001081/0.651, allocations: 406.7 kB / 0.7728 GB, free: 10.74 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.001881/0.6529, allocations: 0.5988 MB / 0.7734 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003253/0.6561, allocations: 1.294 MB / 0.7747 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6562, allocations: 4.188 kB / 0.7747 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.6573, allocations: 0.6055 MB / 0.7753 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.6587, allocations: 313 kB / 0.7756 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005361/0.6641, allocations: 2.985 MB / 0.7785 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000876/0.665, allocations: 1.165 MB / 0.7796 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001058/0.666, allocations: 300.3 kB / 0.7799 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.6664, allocations: 135.4 kB / 0.78 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of SimCode: time 9.02e-07/0.6664, allocations: 0 / 0.78 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of Templates: time 0.03418/0.7006, allocations: 17.71 MB / 0.7973 GB, free: 1.973 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)