Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8627/0.8627, allocations: 143.4 MB / 159.2 MB, free: 4.926 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 187.7 kB / 191.9 MB, free: 5.73 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.594/1.594, allocations: 222.9 MB / 447.3 MB, free: 5.887 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 118.5 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 277.1 kB / 0.5973 GB, free: 49.4 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 79.89 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4095, allocations: 81.3 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005418/0.4149, allocations: 4.891 MB / 0.7727 GB, free: 22.77 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.6354/1.05, allocations: 148.6 MB / 0.9178 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001158/1.052, allocations: 19.12 kB / 0.9178 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006363/1.052, allocations: 155.5 kB / 0.918 GB, free: 15.83 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.00202/1.054, allocations: 499 kB / 0.9184 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/1.057, allocations: 0.7787 MB / 0.9192 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001885/1.059, allocations: 1.497 MB / 0.9207 GB, free: 15.79 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/1.06, allocations: 1.03 MB / 0.9217 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/1.061, allocations: 0.6102 MB / 0.9223 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009287/1.062, allocations: 0.6903 MB / 0.9229 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/1.062, allocations: 102.2 kB / 0.923 GB, free: 15.57 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/1.063, allocations: 446.2 kB / 0.9235 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003593/1.064, allocations: 346 kB / 0.9238 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.000783/1.064, allocations: 0.7147 MB / 0.9245 GB, free: 15.56 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/1.067, allocations: 2.058 MB / 0.9265 GB, free: 15.37 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.067, allocations: 1.094 kB / 0.9265 GB, free: 15.37 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.512e-06/1.067, allocations: 0 / 0.9265 GB, free: 15.37 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.82e-05/1.067, allocations: 4 kB / 0.9265 GB, free: 15.37 MB / 0.573 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.003177/1.07, allocations: 1.779 MB / 0.9282 GB, free: 14.47 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.07, allocations: 10.59 kB / 0.9283 GB, free: 14.47 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/1.071, allocations: 241.6 kB / 0.9285 GB, free: 14.38 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/1.072, allocations: 0.877 MB / 0.9293 GB, free: 14.04 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/1.072, allocations: 105.5 kB / 0.9294 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/1.072, allocations: 137.9 kB / 0.9296 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/1.075, allocations: 1.426 MB / 0.931 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/1.075, allocations: 1.156 kB / 0.931 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/1.075, allocations: 58.66 kB / 0.931 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-05/1.075, allocations: 39.34 kB / 0.9311 GB, free: 13.85 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/1.078, allocations: 1.515 MB / 0.9325 GB, free: 13.83 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/1.084, allocations: 3.784 MB / 0.9362 GB, free: 12.88 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/1.086, allocations: 0.962 MB / 0.9372 GB, free: 12.83 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006502/1.086, allocations: 400.1 kB / 0.9376 GB, free: 12.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/1.087, allocations: 50.05 kB / 0.9376 GB, free: 12.82 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/1.088, allocations: 0.5809 MB / 0.9382 GB, free: 12.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=104): time 3.497e-06/1.088, allocations: 0 / 0.9382 GB, free: 12.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=104): time 0.003555/1.091, allocations: 1.475 MB / 0.9396 GB, free: 12.52 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/1.091, allocations: 195 kB / 0.9398 GB, free: 12.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009768/1.092, allocations: 0.7606 MB / 0.9405 GB, free: 12.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.529e-05/1.092, allocations: 44.17 kB / 0.9406 GB, free: 12.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/1.093, allocations: 0.5562 MB / 0.9411 GB, free: 11.86 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/1.093, allocations: 351.2 kB / 0.9415 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/1.093, allocations: 219.6 kB / 0.9417 GB, free: 11.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.094, allocations: 349.9 kB / 0.942 GB, free: 11.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/1.094, allocations: 359.6 kB / 0.9423 GB, free: 11.3 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/1.095, allocations: 472.6 kB / 0.9428 GB, free: 11.25 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/1.096, allocations: 0.8268 MB / 0.9436 GB, free: 11.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.096, allocations: 0 / 0.9436 GB, free: 11.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002301/1.099, allocations: 1.113 MB / 0.9447 GB, free: 11.08 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/1.099, allocations: 4.969 kB / 0.9447 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/1.099, allocations: 1.875 kB / 0.9447 GB, free: 11.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005843/1.099, allocations: 90.3 kB / 0.9448 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008856/1.1, allocations: 219.7 kB / 0.945 GB, free: 11.07 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/1.102, allocations: 1.535 MB / 0.9465 GB, free: 9.77 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008894/1.103, allocations: 113.9 kB / 0.9466 GB, free: 9.719 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.316e-05/1.103, allocations: 52.38 kB / 0.9467 GB, free: 9.715 MB / 0.573 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.0006436/1.104, allocations: 316.7 kB / 0.947 GB, free: 9.598 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/1.104, allocations: 102.1 kB / 0.9471 GB, free: 9.543 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/1.107, allocations: 1.375 MB / 0.9484 GB, free: 9.395 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.107, allocations: 15.33 kB / 0.9484 GB, free: 9.391 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.107, allocations: 4.562 kB / 0.9484 GB, free: 9.387 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/1.107, allocations: 9.234 kB / 0.9484 GB, free: 9.387 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004069/1.111, allocations: 2.563 MB / 0.9509 GB, free: 8.852 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.111, allocations: 0 / 0.9509 GB, free: 8.852 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/1.112, allocations: 195.2 kB / 0.9511 GB, free: 8.828 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/1.113, allocations: 81.42 kB / 0.9512 GB, free: 8.793 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/1.113, allocations: 29.86 kB / 0.9512 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/1.115, allocations: 1.566 MB / 0.9527 GB, free: 7.414 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.115, allocations: 0 / 0.9527 GB, free: 7.414 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00359/1.118, allocations: 2.359 MB / 0.955 GB, free: 6.387 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004907/1.119, allocations: 321.8 kB / 0.9554 GB, free: 6.176 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/1.119, allocations: 29.95 kB / 0.9554 GB, free: 6.168 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006697/1.12, allocations: 58.81 kB / 0.9554 GB, free: 6.152 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/1.12, allocations: 77.16 kB / 0.9555 GB, free: 6.121 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/1.12, allocations: 42.45 kB / 0.9556 GB, free: 6.117 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000804/1.121, allocations: 0.5703 MB / 0.9561 GB, free: 5.824 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.121, allocations: 0 / 0.9561 GB, free: 5.824 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001277/1.122, allocations: 411.6 kB / 0.9565 GB, free: 5.691 MB / 0.573 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.001343/1.123, allocations: 0.6053 MB / 0.9571 GB, free: 5.426 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002073/1.125, allocations: 1.03 MB / 0.9581 GB, free: 4.914 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.125, allocations: 4.062 kB / 0.9581 GB, free: 4.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/1.126, allocations: 0.61 MB / 0.9587 GB, free: 4.598 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.128, allocations: 292.1 kB / 0.959 GB, free: 4.445 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/1.133, allocations: 3.547 MB / 0.9624 GB, free: 1.992 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008185/1.134, allocations: 1.196 MB / 0.9636 GB, free: 1.074 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001151/1.135, allocations: 303.8 kB / 0.9639 GB, free: 0.9258 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003636/1.136, allocations: 130.3 kB / 0.964 GB, free: 0.8867 MB / 0.573 GB Notification: Performance of SimCode: time 1.252e-06/1.136, allocations: 3.938 kB / 0.964 GB, free: 0.8828 MB / 0.573 GB Notification: Performance of Templates: time 0.03018/1.166, allocations: 17.62 MB / 0.9812 GB, free: 4.223 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)