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.0008479/0.0008479, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.005281/0.005281, allocations: 172 kB / 16.26 MB, free: 6.613 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.97/0.97, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1933/0.1937, allocations: 82.3 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004912/0.1986, allocations: 3.683 MB / 0.5916 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.532/0.7307, allocations: 146.5 MB / 0.7347 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000764/0.7315, allocations: 14.78 kB / 0.7347 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.7321, allocations: 131 kB / 0.7348 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.7337, allocations: 413 kB / 0.7352 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.736, allocations: 0.6804 MB / 0.7358 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.7377, allocations: 1.086 MB / 0.7369 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009616/0.7386, allocations: 0.5842 MB / 0.7375 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.7393, allocations: 291 kB / 0.7378 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.7398, allocations: 326.8 kB / 0.7381 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.774e-05/0.7399, allocations: 21.44 kB / 0.7381 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00112/0.741, allocations: 363.7 kB / 0.7384 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.7413, allocations: 169.5 kB / 0.7386 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004337/0.7417, allocations: 416 kB / 0.739 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001844/0.7436, allocations: 1.354 MB / 0.7403 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7436, allocations: 0 / 0.7403 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7436, allocations: 1.219 kB / 0.7403 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.7436, allocations: 0 / 0.7403 GB, free: 12.06 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.002129/0.7458, allocations: 1.113 MB / 0.7414 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.7458, allocations: 8.531 kB / 0.7414 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008902/0.7467, allocations: 192.6 kB / 0.7416 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000982/0.7477, allocations: 0.6977 MB / 0.7423 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.7478, allocations: 61.03 kB / 0.7423 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.7479, allocations: 78.06 kB / 0.7424 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.7495, allocations: 0.8633 MB / 0.7433 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.7495, allocations: 1.406 kB / 0.7433 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.7496, allocations: 32.22 kB / 0.7433 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.7496, allocations: 19.25 kB / 0.7433 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.7514, allocations: 1.072 MB / 0.7444 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004016/0.7554, allocations: 2.413 MB / 0.7467 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/0.7567, allocations: 0.8012 MB / 0.7475 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000495/0.7572, allocations: 280 kB / 0.7478 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.027e-05/0.7573, allocations: 24.62 kB / 0.7478 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.7581, allocations: 432.7 kB / 0.7482 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.053e-06/0.7581, allocations: 0 / 0.7482 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002893/0.761, allocations: 1.079 MB / 0.7492 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.7611, allocations: 197.4 kB / 0.7494 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.7619, allocations: 0.5796 MB / 0.75 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.762, allocations: 40.17 kB / 0.75 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003249/0.7623, allocations: 368 kB / 0.7504 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.7625, allocations: 234.4 kB / 0.7506 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.708e-05/0.7626, allocations: 60.75 kB / 0.7507 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7628, allocations: 374.1 kB / 0.751 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.7633, allocations: 244.2 kB / 0.7513 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005481/0.7638, allocations: 325.2 kB / 0.7516 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.7649, allocations: 0.5546 MB / 0.7521 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7649, allocations: 4 kB / 0.7521 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001748/0.7666, allocations: 0.7704 MB / 0.7529 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.7667, allocations: 4 kB / 0.7529 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.7667, allocations: 4 kB / 0.7529 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.7673, allocations: 84.95 kB / 0.753 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005776/0.7679, allocations: 147.7 kB / 0.7531 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/0.7699, allocations: 1.533 MB / 0.7546 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/0.7706, allocations: 91.05 kB / 0.7547 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.7707, allocations: 31.98 kB / 0.7547 GB, free: 1.117 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 (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.0004396/0.7711, allocations: 253.8 kB / 0.755 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.7713, allocations: 79.05 kB / 0.755 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.7735, allocations: 0.9687 MB / 0.756 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.495e-06/0.7735, allocations: 11.94 kB / 0.756 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.7735, allocations: 4 kB / 0.756 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.861e-05/0.7735, allocations: 3.984 kB / 0.756 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.7766, allocations: 1.848 MB / 0.7578 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7766, allocations: 0 / 0.7578 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.7772, allocations: 135.8 kB / 0.7579 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005296/0.7777, allocations: 84.77 kB / 0.758 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.137e-05/0.7778, allocations: 23.98 kB / 0.758 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.7796, allocations: 1.563 MB / 0.7596 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7796, allocations: 4.062 kB / 0.7596 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.7815, allocations: 0.9062 MB / 0.7604 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/0.7819, allocations: 263.8 kB / 0.7607 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.632e-05/0.782, allocations: 16 kB / 0.7607 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005865/0.7826, allocations: 71.94 kB / 0.7608 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.7827, allocations: 52.92 kB / 0.7608 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.088e-05/0.7828, allocations: 31.98 kB / 0.7609 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005832/0.7834, allocations: 423 kB / 0.7613 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7834, allocations: 0 / 0.7613 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009323/0.7843, allocations: 287.3 kB / 0.7615 GB, free: 9.875 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.001407/0.7858, allocations: 0.6013 MB / 0.7621 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.7873, allocations: 0.7511 MB / 0.7629 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.7873, allocations: 0 / 0.7629 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008249/0.7881, allocations: 492.3 kB / 0.7633 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.7894, allocations: 251.6 kB / 0.7636 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.7935, allocations: 2.076 MB / 0.7656 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.7941, allocations: 0.9931 MB / 0.7666 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008051/0.7949, allocations: 242 kB / 0.7668 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.7952, allocations: 99.39 kB / 0.7669 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/0.7952, allocations: 0 / 0.7669 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of Templates: time 0.02411/0.8193, allocations: 13.03 MB / 0.7796 GB, free: 7.652 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)