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.001064/0.001064, allocations: 90.83 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.009273/0.009273, allocations: 171.9 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.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7872/0.7872, allocations: 132.4 MB / 423.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005442/0.0005442, allocations: 8 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4741, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005561/0.4797, allocations: 4.482 MB / 0.588 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.2001/0.6798, allocations: 147 MB / 0.7316 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.6808, allocations: 23.88 kB / 0.7316 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005542/0.6814, allocations: 154.8 kB / 0.7317 GB, free: 8.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.6834, allocations: 496.5 kB / 0.7322 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.6857, allocations: 0.7838 MB / 0.733 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.6878, allocations: 1.472 MB / 0.7344 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.6896, allocations: 1.001 MB / 0.7354 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009343/0.6905, allocations: 461.4 kB / 0.7358 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006498/0.6912, allocations: 0.4987 MB / 0.7363 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.997e-05/0.6913, allocations: 32 kB / 0.7364 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009863/0.6923, allocations: 371.7 kB / 0.7367 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.6925, allocations: 238.7 kB / 0.7369 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005446/0.6931, allocations: 0.5915 MB / 0.7375 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.695, allocations: 1.977 MB / 0.7394 GB, free: 324 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.695, allocations: 0 / 0.7394 GB, free: 324 kB / 0.5606 GB Notification: Performance of FrontEnd: time 3.386e-06/0.695, allocations: 0 / 0.7394 GB, free: 324 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.695, allocations: 3.938 kB / 0.7394 GB, free: 320 kB / 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.002644/0.6977, allocations: 1.459 MB / 0.7409 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.6977, allocations: 12.03 kB / 0.7409 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009384/0.6987, allocations: 246.8 kB / 0.7411 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.6998, allocations: 0.8836 MB / 0.742 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/0.6999, allocations: 106.9 kB / 0.7421 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.7001, allocations: 140 kB / 0.7422 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.7023, allocations: 1.44 MB / 0.7436 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.7024, allocations: 3.938 kB / 0.7436 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7025, allocations: 56 kB / 0.7437 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.7025, allocations: 36 kB / 0.7437 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.7048, allocations: 1.525 MB / 0.7452 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.7104, allocations: 3.806 MB / 0.7489 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.7121, allocations: 0.9661 MB / 0.7499 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006841/0.7128, allocations: 407.6 kB / 0.7503 GB, free: 5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.897e-05/0.7129, allocations: 53.06 kB / 0.7503 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00101/0.7139, allocations: 0.5748 MB / 0.7509 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.435e-06/0.7139, allocations: 0 / 0.7509 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=104): time 0.003667/0.7176, allocations: 1.497 MB / 0.7523 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7177, allocations: 188.9 kB / 0.7525 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/0.7187, allocations: 0.7669 MB / 0.7533 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/0.7188, allocations: 41.7 kB / 0.7533 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.7192, allocations: 0.5582 MB / 0.7538 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002661/0.7195, allocations: 347 kB / 0.7542 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.7196, allocations: 85.67 kB / 0.7543 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.7198, allocations: 345.9 kB / 0.7546 GB, free: 448 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.7204, allocations: 366.4 kB / 0.7549 GB, free: 84 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008091/0.7212, allocations: 482.2 kB / 0.7554 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.7227, allocations: 0.8351 MB / 0.7562 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.7227, allocations: 0 / 0.7562 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002312/0.7251, allocations: 1.122 MB / 0.7573 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.7251, allocations: 4 kB / 0.7573 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.7251, allocations: 3.938 kB / 0.7573 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005994/0.7257, allocations: 88.83 kB / 0.7574 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.7266, allocations: 223.7 kB / 0.7576 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.7288, allocations: 1.543 MB / 0.7591 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008558/0.7297, allocations: 119 kB / 0.7592 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-05/0.7298, allocations: 47.95 kB / 0.7593 GB, free: 11.45 MB / 0.5919 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.0005732/0.7303, allocations: 319.1 kB / 0.7596 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.7305, allocations: 98.78 kB / 0.7597 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.7335, allocations: 1.392 MB / 0.761 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.7335, allocations: 15.98 kB / 0.7611 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.7335, allocations: 0 / 0.7611 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/0.7335, allocations: 7.922 kB / 0.7611 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00394/0.7375, allocations: 2.57 MB / 0.7636 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.7375, allocations: 4 kB / 0.7636 GB, free: 6.965 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007794/0.7383, allocations: 191.7 kB / 0.7638 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005242/0.7388, allocations: 92.75 kB / 0.7638 GB, free: 6.684 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.216e-05/0.7389, allocations: 27.98 kB / 0.7639 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.7407, allocations: 1.548 MB / 0.7654 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7408, allocations: 8 kB / 0.7654 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/0.743, allocations: 1.175 MB / 0.7665 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004608/0.7434, allocations: 359.2 kB / 0.7669 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.7436, allocations: 24 kB / 0.7669 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.7443, allocations: 71.95 kB / 0.767 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.7445, allocations: 76.88 kB / 0.767 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.52e-05/0.7445, allocations: 35.98 kB / 0.7671 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007429/0.7453, allocations: 0.577 MB / 0.7676 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7453, allocations: 3.938 kB / 0.7676 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00105/0.7464, allocations: 406.7 kB / 0.768 GB, free: 2.219 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.001327/0.7477, allocations: 0.5928 MB / 0.7686 GB, free: 1.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001977/0.7497, allocations: 1.046 MB / 0.7696 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.7497, allocations: 4 kB / 0.7696 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.7507, allocations: 0.6251 MB / 0.7702 GB, free: 136 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.7521, allocations: 284.4 kB / 0.7705 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/0.7574, allocations: 3.049 MB / 0.7735 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.7581, allocations: 1.163 MB / 0.7746 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008906/0.759, allocations: 292.3 kB / 0.7749 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/0.7594, allocations: 135.4 kB / 0.775 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of SimCode: time 6.92e-07/0.7594, allocations: 0 / 0.775 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Templates: time 0.02804/0.7874, allocations: 16.93 MB / 0.7916 GB, free: 10.41 MB / 0.6231 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)