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.001129/0.001129, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.178/1.178, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7/0.7, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 59.39 kB / 0.5018 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3298, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005187/0.335, allocations: 4.919 MB / 0.5849 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1529/0.4879, allocations: 150.9 MB / 0.7323 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/0.4889, allocations: 15.94 kB / 0.7323 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005307/0.4895, allocations: 190.1 kB / 0.7324 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.4912, allocations: 0.5856 MB / 0.733 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.4932, allocations: 0.8789 MB / 0.7339 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.4947, allocations: 1.577 MB / 0.7354 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.4959, allocations: 1.067 MB / 0.7365 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007857/0.4967, allocations: 0.6772 MB / 0.7371 GB, free: 124 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006958/0.4974, allocations: 0.739 MB / 0.7378 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.4976, allocations: 176 kB / 0.738 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.4985, allocations: 0.5073 MB / 0.7385 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003226/0.4988, allocations: 422.6 kB / 0.7389 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005712/0.4994, allocations: 0.7695 MB / 0.7397 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00202/0.5014, allocations: 2.134 MB / 0.7417 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5014, allocations: 0 / 0.7417 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5014, allocations: 0 / 0.7417 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.5015, allocations: 0 / 0.7417 GB, free: 11.37 MB / 0.5762 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.002752/0.5042, allocations: 1.783 MB / 0.7435 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5043, allocations: 12.03 kB / 0.7435 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008956/0.5052, allocations: 238.9 kB / 0.7437 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5062, allocations: 0.8797 MB / 0.7446 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.866e-05/0.5063, allocations: 102.9 kB / 0.7447 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.5065, allocations: 136 kB / 0.7448 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.5085, allocations: 1.428 MB / 0.7462 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.5085, allocations: 7.938 kB / 0.7462 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.5086, allocations: 60 kB / 0.7463 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.5087, allocations: 36 kB / 0.7463 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.5109, allocations: 1.513 MB / 0.7478 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.5163, allocations: 3.789 MB / 0.7515 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.5178, allocations: 0.9612 MB / 0.7524 GB, free: 208 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.5185, allocations: 399.6 kB / 0.7528 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.638e-05/0.5186, allocations: 44.98 kB / 0.7528 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009877/0.5196, allocations: 0.5826 MB / 0.7534 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 2.534e-06/0.5196, allocations: 0 / 0.7534 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=104): time 0.003513/0.5231, allocations: 1.477 MB / 0.7549 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.832e-05/0.5232, allocations: 192.9 kB / 0.755 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5243, allocations: 0.763 MB / 0.7558 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.847e-05/0.5244, allocations: 45.7 kB / 0.7558 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.5248, allocations: 0.5544 MB / 0.7564 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.5251, allocations: 343 kB / 0.7567 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003148/0.5254, allocations: 214.7 kB / 0.7569 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.5255, allocations: 349.9 kB / 0.7572 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.5262, allocations: 358.4 kB / 0.7576 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007871/0.527, allocations: 474.1 kB / 0.758 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.5284, allocations: 0.8312 MB / 0.7588 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5285, allocations: 0 / 0.7588 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0024/0.5309, allocations: 1.114 MB / 0.7599 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.5309, allocations: 8 kB / 0.7599 GB, free: 8.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.5309, allocations: 3.938 kB / 0.7599 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/0.5315, allocations: 84.83 kB / 0.76 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.5324, allocations: 223.7 kB / 0.7602 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/0.5344, allocations: 1.656 MB / 0.7619 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008258/0.5352, allocations: 110.9 kB / 0.762 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-05/0.5354, allocations: 51.95 kB / 0.762 GB, free: 6.07 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.0005289/0.5359, allocations: 311.1 kB / 0.7623 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.5361, allocations: 98.78 kB / 0.7624 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002978/0.5391, allocations: 1.388 MB / 0.7638 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.5391, allocations: 11.94 kB / 0.7638 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5392, allocations: 4 kB / 0.7638 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.5392, allocations: 7.969 kB / 0.7638 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.5432, allocations: 2.559 MB / 0.7663 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.5432, allocations: 0 / 0.7663 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.544, allocations: 195.7 kB / 0.7665 GB, free: 1.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.5444, allocations: 72.78 kB / 0.7665 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.5445, allocations: 31.98 kB / 0.7666 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.5463, allocations: 1.674 MB / 0.7682 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5463, allocations: 8 kB / 0.7682 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.5485, allocations: 1.164 MB / 0.7693 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000451/0.5489, allocations: 311.5 kB / 0.7696 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.5491, allocations: 35.83 kB / 0.7697 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007242/0.5499, allocations: 55.95 kB / 0.7697 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/0.55, allocations: 76.83 kB / 0.7698 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/0.5501, allocations: 51.91 kB / 0.7698 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007961/0.5509, allocations: 0.5732 MB / 0.7704 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5509, allocations: 0 / 0.7704 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009801/0.5519, allocations: 398.7 kB / 0.7708 GB, free: 12.8 MB / 0.6075 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.001266/0.5532, allocations: 0.5915 MB / 0.7714 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002896/0.5561, allocations: 1.296 MB / 0.7726 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5561, allocations: 0 / 0.7726 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.5571, allocations: 0.6097 MB / 0.7732 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.5584, allocations: 301.1 kB / 0.7735 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004565/0.563, allocations: 2.372 MB / 0.7758 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/0.5638, allocations: 1.162 MB / 0.777 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009598/0.5648, allocations: 292.4 kB / 0.7772 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.5651, allocations: 131.4 kB / 0.7774 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of SimCode: time 4.81e-07/0.5652, allocations: 8 kB / 0.7774 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.02974/0.5949, allocations: 17.78 MB / 0.7947 GB, free: 4.594 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)