Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009384/0.0009384, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0009736/0.0009736, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7156/0.7156, allocations: 132.4 MB / 423.4 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 8 kB / 0.5034 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3368, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.00419/0.341, allocations: 4.235 MB / 0.5872 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1395/0.4806, allocations: 137.1 MB / 0.7211 GB, free: 2.871 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008493/0.4814, allocations: 19.94 kB / 0.7211 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.482, allocations: 146.8 kB / 0.7212 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001491/0.4835, allocations: 487.4 kB / 0.7217 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.4851, allocations: 0.6722 MB / 0.7224 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.4865, allocations: 1.366 MB / 0.7237 GB, free: 204 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.4875, allocations: 0.82 MB / 0.7245 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006313/0.4881, allocations: 449.7 kB / 0.7249 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.4887, allocations: 485.2 kB / 0.7254 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.4889, allocations: 28 kB / 0.7254 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006379/0.4895, allocations: 335.7 kB / 0.7257 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.4897, allocations: 230.8 kB / 0.726 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.4899, allocations: 256.9 kB / 0.7262 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.4913, allocations: 1.582 MB / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.4913, allocations: 0 / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4913, allocations: 0 / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.152e-05/0.4913, allocations: 0 / 0.7277 GB, free: 12.02 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.002412/0.4937, allocations: 1.482 MB / 0.7292 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.4938, allocations: 12.03 kB / 0.7292 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008551/0.4946, allocations: 241.9 kB / 0.7294 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4957, allocations: 0.8523 MB / 0.7303 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.425e-05/0.4958, allocations: 106.8 kB / 0.7304 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.4959, allocations: 136 kB / 0.7305 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002125/0.4981, allocations: 1.42 MB / 0.7319 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.4981, allocations: 0 / 0.7319 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.4982, allocations: 67.94 kB / 0.732 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.4983, allocations: 32 kB / 0.732 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002361/0.5006, allocations: 1.517 MB / 0.7335 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.5059, allocations: 3.807 MB / 0.7372 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.5074, allocations: 0.9542 MB / 0.7381 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.5081, allocations: 396.7 kB / 0.7385 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.024e-05/0.5082, allocations: 48.98 kB / 0.7385 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009083/0.5091, allocations: 0.5826 MB / 0.7391 GB, free: 124 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 2.034e-06/0.5091, allocations: 0 / 0.7391 GB, free: 124 kB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.00322/0.5123, allocations: 1.481 MB / 0.7406 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.5124, allocations: 196.9 kB / 0.7407 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.5132, allocations: 0.7512 MB / 0.7415 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.352e-05/0.5133, allocations: 45.7 kB / 0.7415 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.5137, allocations: 0.5543 MB / 0.7421 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.5139, allocations: 347 kB / 0.7424 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.514, allocations: 20 kB / 0.7424 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.5141, allocations: 345.9 kB / 0.7427 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/0.5147, allocations: 362.4 kB / 0.7431 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/0.5155, allocations: 474.1 kB / 0.7435 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.5162, allocations: 422.9 kB / 0.7439 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5162, allocations: 0 / 0.7439 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002125/0.5183, allocations: 1.118 MB / 0.745 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.5184, allocations: 8.094 kB / 0.745 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5184, allocations: 3.938 kB / 0.745 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005341/0.5189, allocations: 88.77 kB / 0.7451 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009123/0.5198, allocations: 223.7 kB / 0.7453 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.5216, allocations: 1.536 MB / 0.7468 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006957/0.5223, allocations: 122.9 kB / 0.747 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.144e-05/0.5224, allocations: 43.97 kB / 0.747 GB, free: 7.762 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004227/0.5228, allocations: 319 kB / 0.7473 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.523, allocations: 102.8 kB / 0.7474 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002894/0.5259, allocations: 1.407 MB / 0.7488 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.5259, allocations: 8 kB / 0.7488 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5259, allocations: 7.953 kB / 0.7488 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.5259, allocations: 7.984 kB / 0.7488 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.5295, allocations: 2.563 MB / 0.7513 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.5295, allocations: 4 kB / 0.7513 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007674/0.5303, allocations: 195.7 kB / 0.7515 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004504/0.5308, allocations: 84.78 kB / 0.7516 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.5308, allocations: 27.98 kB / 0.7516 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/0.5324, allocations: 1.559 MB / 0.7531 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5325, allocations: 0 / 0.7531 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.5345, allocations: 1.171 MB / 0.7543 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.5349, allocations: 359.2 kB / 0.7546 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.5351, allocations: 20 kB / 0.7546 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.5357, allocations: 71.89 kB / 0.7547 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.5358, allocations: 80.89 kB / 0.7548 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-05/0.5359, allocations: 35.98 kB / 0.7548 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006585/0.5366, allocations: 0.5693 MB / 0.7554 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5366, allocations: 0 / 0.7554 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008866/0.5375, allocations: 394.7 kB / 0.7557 GB, free: 14.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.5387, allocations: 0.6048 MB / 0.7563 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.5404, allocations: 1.034 MB / 0.7573 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5405, allocations: 0 / 0.7573 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009382/0.5414, allocations: 0.6136 MB / 0.7579 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5425, allocations: 265.4 kB / 0.7582 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.5468, allocations: 2.929 MB / 0.7611 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/0.5474, allocations: 1.167 MB / 0.7622 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008824/0.5483, allocations: 300.3 kB / 0.7625 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.5486, allocations: 131.4 kB / 0.7626 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.5486, allocations: 0 / 0.7626 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of Templates: time 0.02388/0.5725, allocations: 16.47 MB / 0.7787 GB, free: 7.34 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)