Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.001311, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001398/0.001398, allocations: 201.2 kB / 16.26 MB, free: 6.625 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9266/0.9266, allocations: 135.6 MB / 425.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 60.72 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.157, allocations: 81.01 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005725/0.1627, allocations: 4.126 MB / 0.5885 GB, free: 164 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4017/0.5645, allocations: 148.2 MB / 0.7333 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000874/0.5654, allocations: 20.34 kB / 0.7333 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000814/0.5663, allocations: 137 kB / 0.7334 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.5681, allocations: 419.4 kB / 0.7338 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002135/0.5702, allocations: 0.7059 MB / 0.7345 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00152/0.5717, allocations: 1.187 MB / 0.7357 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/0.5727, allocations: 0.6031 MB / 0.7363 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006481/0.5733, allocations: 436.5 kB / 0.7367 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.5738, allocations: 445.9 kB / 0.7371 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.574, allocations: 101.8 kB / 0.7372 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008454/0.5748, allocations: 448.8 kB / 0.7376 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.5751, allocations: 274.6 kB / 0.7379 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004395/0.5755, allocations: 0.4934 MB / 0.7384 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.5771, allocations: 1.445 MB / 0.7398 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5771, allocations: 1.281 kB / 0.7398 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5771, allocations: 0 / 0.7398 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.5771, allocations: 0 / 0.7398 GB, free: 10.07 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002222/0.5793, allocations: 1.32 MB / 0.7411 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5794, allocations: 9.875 kB / 0.7411 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008683/0.5803, allocations: 180.9 kB / 0.7413 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009649/0.5812, allocations: 0.7053 MB / 0.742 GB, free: 8.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.153e-05/0.5813, allocations: 66.66 kB / 0.742 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5814, allocations: 74.88 kB / 0.7421 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.5829, allocations: 0.8623 MB / 0.7429 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.5829, allocations: 0 / 0.7429 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.583, allocations: 32.41 kB / 0.743 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.583, allocations: 19.75 kB / 0.743 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5846, allocations: 1.075 MB / 0.744 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.5881, allocations: 2.368 MB / 0.7463 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.5893, allocations: 0.7896 MB / 0.7471 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004531/0.5898, allocations: 274.2 kB / 0.7474 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.399e-05/0.5899, allocations: 38.3 kB / 0.7474 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008198/0.5907, allocations: 422.3 kB / 0.7478 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 5.67e-06/0.5908, allocations: 3.984 kB / 0.7478 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002874/0.5936, allocations: 1.077 MB / 0.7489 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5938, allocations: 196.6 kB / 0.7491 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007762/0.5946, allocations: 0.586 MB / 0.7496 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.91e-05/0.5946, allocations: 45.64 kB / 0.7497 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.595, allocations: 376.3 kB / 0.75 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.5952, allocations: 236.5 kB / 0.7503 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.5954, allocations: 158.4 kB / 0.7504 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001903/0.5956, allocations: 374.8 kB / 0.7508 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.5961, allocations: 237.9 kB / 0.751 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.5967, allocations: 330.8 kB / 0.7513 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00099/0.5977, allocations: 0.5394 MB / 0.7518 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5977, allocations: 4 kB / 0.7518 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001769/0.5995, allocations: 0.7666 MB / 0.7526 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5995, allocations: 8 kB / 0.7526 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.5995, allocations: 3.938 kB / 0.7526 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/0.6001, allocations: 84.83 kB / 0.7527 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.6007, allocations: 147.8 kB / 0.7528 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.6029, allocations: 1.63 MB / 0.7544 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.6035, allocations: 74.09 kB / 0.7545 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.6036, allocations: 35.97 kB / 0.7545 GB, free: 13.72 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 (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 (83): * Single equations (assignments): 82 * 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.0004046/0.604, allocations: 251.5 kB / 0.7548 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.6042, allocations: 86.98 kB / 0.7548 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/0.6064, allocations: 0.9955 MB / 0.7558 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.6064, allocations: 8 kB / 0.7558 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.6064, allocations: 0 / 0.7558 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6065, allocations: 7.984 kB / 0.7558 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.6096, allocations: 1.85 MB / 0.7576 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6096, allocations: 0 / 0.7576 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005543/0.6101, allocations: 155.7 kB / 0.7578 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.6106, allocations: 72.72 kB / 0.7578 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/0.6106, allocations: 23.98 kB / 0.7579 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.6126, allocations: 1.662 MB / 0.7595 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6126, allocations: 0.7031 kB / 0.7595 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001833/0.6145, allocations: 0.9179 MB / 0.7604 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003378/0.6148, allocations: 247.8 kB / 0.7606 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6149, allocations: 19.94 kB / 0.7606 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.6155, allocations: 59.88 kB / 0.7607 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.6156, allocations: 64.91 kB / 0.7608 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.032e-05/0.6157, allocations: 31.98 kB / 0.7608 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005446/0.6162, allocations: 423.1 kB / 0.7612 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6162, allocations: 0 / 0.7612 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009086/0.6172, allocations: 287.3 kB / 0.7615 GB, free: 6.336 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 (86): * Single equations (assignments): 83 * 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.001849/0.619, allocations: 0.6029 MB / 0.7621 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.6213, allocations: 0.9454 MB / 0.763 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6213, allocations: 0 / 0.763 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.6222, allocations: 497.5 kB / 0.7635 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001336/0.6235, allocations: 286.5 kB / 0.7637 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004484/0.628, allocations: 2.052 MB / 0.7657 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.6289, allocations: 1.007 MB / 0.7667 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009013/0.6298, allocations: 246.2 kB / 0.767 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.6301, allocations: 99.33 kB / 0.7671 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/0.6301, allocations: 0 / 0.7671 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of Templates: time 0.02659/0.6567, allocations: 13.73 MB / 0.7805 GB, free: 3.238 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)