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.001334/0.001334, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001479/0.001479, allocations: 168.7 kB / 15.95 MB, free: 204 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.408/1.408, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9769/0.9769, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 0.507 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1887, allocations: 82.31 MB / 0.5874 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005753/0.1945, allocations: 4.219 MB / 0.5915 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5839/0.7785, allocations: 137.1 MB / 0.7254 GB, free: 6.957 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.7797, allocations: 20.38 kB / 0.7254 GB, free: 6.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.7803, allocations: 141.2 kB / 0.7255 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002128/0.7825, allocations: 486.3 kB / 0.726 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.7854, allocations: 0.6751 MB / 0.7266 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002767/0.7882, allocations: 1.366 MB / 0.728 GB, free: 5.566 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.7897, allocations: 0.8296 MB / 0.7288 GB, free: 5.191 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.7909, allocations: 444.4 kB / 0.7292 GB, free: 5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.7918, allocations: 487.3 kB / 0.7297 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001121/0.7919, allocations: 30 kB / 0.7297 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.7934, allocations: 338.4 kB / 0.73 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.7938, allocations: 229.5 kB / 0.7303 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.7943, allocations: 257.3 kB / 0.7305 GB, free: 4.391 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003449/0.7978, allocations: 1.574 MB / 0.732 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.111e-05/0.7978, allocations: 1.281 kB / 0.732 GB, free: 3.992 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.637e-06/0.7978, allocations: 0 / 0.732 GB, free: 3.992 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.277e-05/0.7979, allocations: 4 kB / 0.732 GB, free: 3.988 MB / 0.545 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.004361/0.8022, allocations: 1.474 MB / 0.7335 GB, free: 3.004 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.766e-05/0.8023, allocations: 10.78 kB / 0.7335 GB, free: 3.004 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.8036, allocations: 251.5 kB / 0.7337 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.8055, allocations: 0.8423 MB / 0.7346 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.8056, allocations: 112.3 kB / 0.7347 GB, free: 2.309 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002354/0.8059, allocations: 140.5 kB / 0.7348 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003262/0.8091, allocations: 1.42 MB / 0.7362 GB, free: 1.633 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.8092, allocations: 5.094 kB / 0.7362 GB, free: 1.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/0.8093, allocations: 57.47 kB / 0.7362 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.8094, allocations: 34.28 kB / 0.7363 GB, free: 1.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.812, allocations: 1.52 MB / 0.7378 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.8186, allocations: 3.786 MB / 0.7415 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.8202, allocations: 0.9574 MB / 0.7424 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/0.8208, allocations: 395.3 kB / 0.7428 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.821, allocations: 58.16 kB / 0.7428 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001043/0.822, allocations: 0.5823 MB / 0.7434 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 3.376e-06/0.822, allocations: 0 / 0.7434 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003494/0.8255, allocations: 1.481 MB / 0.7448 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.8257, allocations: 196.9 kB / 0.745 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.8269, allocations: 0.7551 MB / 0.7458 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.827, allocations: 45.7 kB / 0.7458 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005543/0.8275, allocations: 0.5621 MB / 0.7464 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.8279, allocations: 343 kB / 0.7467 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.8279, allocations: 20 kB / 0.7467 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.8281, allocations: 345.9 kB / 0.747 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.8287, allocations: 366.4 kB / 0.7474 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.8295, allocations: 466.2 kB / 0.7478 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007782/0.8302, allocations: 422.8 kB / 0.7482 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.8303, allocations: 0 / 0.7482 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002297/0.8326, allocations: 1.114 MB / 0.7493 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.8326, allocations: 10.19 kB / 0.7493 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.8326, allocations: 0 / 0.7493 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.8332, allocations: 84.83 kB / 0.7494 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009323/0.8341, allocations: 228.9 kB / 0.7496 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.8362, allocations: 1.536 MB / 0.7511 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009983/0.8373, allocations: 129.8 kB / 0.7512 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.8374, allocations: 43.97 kB / 0.7513 GB, free: 4.547 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 ($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.0007909/0.8382, allocations: 321.5 kB / 0.7516 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/0.8383, allocations: 98.78 kB / 0.7517 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003106/0.8414, allocations: 1.41 MB / 0.7531 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.8415, allocations: 12 kB / 0.7531 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.8415, allocations: 3.953 kB / 0.7531 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.8415, allocations: 3.984 kB / 0.7531 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004287/0.8458, allocations: 2.564 MB / 0.7556 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.8458, allocations: 0 / 0.7556 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.8466, allocations: 199.6 kB / 0.7558 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004701/0.8471, allocations: 80.78 kB / 0.7559 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.8472, allocations: 31.98 kB / 0.7559 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.849, allocations: 1.563 MB / 0.7574 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.8491, allocations: 3.938 kB / 0.7574 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.8512, allocations: 1.168 MB / 0.7586 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005753/0.8518, allocations: 355.2 kB / 0.7589 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.852, allocations: 24 kB / 0.7589 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.8526, allocations: 75.89 kB / 0.759 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.8528, allocations: 72.89 kB / 0.7591 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/0.8529, allocations: 39.98 kB / 0.7591 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009068/0.8538, allocations: 0.5693 MB / 0.7597 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8538, allocations: 0 / 0.7597 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001436/0.8553, allocations: 398.8 kB / 0.76 GB, free: 11.33 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 (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.001488/0.8568, allocations: 0.6004 MB / 0.7606 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.8588, allocations: 1.033 MB / 0.7616 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.8589, allocations: 0 / 0.7616 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.8599, allocations: 0.6134 MB / 0.7622 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.8612, allocations: 269.6 kB / 0.7625 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005423/0.8666, allocations: 2.936 MB / 0.7654 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009266/0.8676, allocations: 1.162 MB / 0.7665 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001189/0.8688, allocations: 300.3 kB / 0.7668 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003404/0.8691, allocations: 135.4 kB / 0.7669 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.8691, allocations: 0 / 0.7669 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.03328/0.9024, allocations: 16.47 MB / 0.783 GB, free: 4.094 MB / 0.5919 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)