Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 113.4 kB / 16.37 MB, free: 5.996 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.0012/0.0012, allocations: 192.6 kB / 17.31 MB, free: 5.609 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 276.3 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9576/0.9576, allocations: 169.3 MB / 0.4989 GB, free: 4.473 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 92.12 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2236, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00678/0.2304, allocations: 4.466 MB / 0.686 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7375/0.968, allocations: 150.8 MB / 0.8332 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.9694, allocations: 15.88 kB / 0.8332 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.9701, allocations: 178.8 kB / 0.8334 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.9727, allocations: 0.5306 MB / 0.8339 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00253/0.9752, allocations: 0.843 MB / 0.8347 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002221/0.9774, allocations: 1.371 MB / 0.8361 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.9786, allocations: 0.6341 MB / 0.8367 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009677/0.9796, allocations: 0.4943 MB / 0.8372 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.9803, allocations: 0.5172 MB / 0.8377 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001862/0.9805, allocations: 128 kB / 0.8378 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.9817, allocations: 487.6 kB / 0.8383 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003369/0.982, allocations: 314.7 kB / 0.8386 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005969/0.9826, allocations: 0.5634 MB / 0.8391 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002248/0.9849, allocations: 1.658 MB / 0.8407 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.9849, allocations: 0 / 0.8407 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9849, allocations: 0 / 0.8407 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.9849, allocations: 0 / 0.8407 GB, free: 11.37 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00298/0.9879, allocations: 1.474 MB / 0.8422 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.988, allocations: 8.031 kB / 0.8422 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009748/0.989, allocations: 183.3 kB / 0.8423 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001443/0.9904, allocations: 0.79 MB / 0.8431 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-05/0.9905, allocations: 66 kB / 0.8432 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.9906, allocations: 88 kB / 0.8433 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.9925, allocations: 0.9652 MB / 0.8442 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.9925, allocations: 0 / 0.8442 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.9926, allocations: 39.98 kB / 0.8442 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.9926, allocations: 24 kB / 0.8443 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.9946, allocations: 1.155 MB / 0.8454 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004636/0.9992, allocations: 2.64 MB / 0.848 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.001, allocations: 0.8471 MB / 0.8488 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006242/1.002, allocations: 318.7 kB / 0.8491 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/1.002, allocations: 40.67 kB / 0.8491 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009622/1.003, allocations: 0.5237 MB / 0.8497 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 3.045e-06/1.003, allocations: 0 / 0.8497 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.003525/1.006, allocations: 1.29 MB / 0.8509 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.006, allocations: 188.9 kB / 0.8511 GB, free: 460 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.007, allocations: 0.6605 MB / 0.8517 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.679e-05/1.007, allocations: 45.7 kB / 0.8518 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/1.008, allocations: 404.4 kB / 0.8522 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/1.008, allocations: 283.9 kB / 0.8524 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/1.008, allocations: 186.4 kB / 0.8526 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.009, allocations: 390.8 kB / 0.853 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005791/1.009, allocations: 285.8 kB / 0.8533 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/1.01, allocations: 399 kB / 0.8536 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/1.011, allocations: 0.6494 MB / 0.8543 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.011, allocations: 4 kB / 0.8543 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002273/1.013, allocations: 0.9191 MB / 0.8552 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/1.013, allocations: 6.812 kB / 0.8552 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.013, allocations: 7.922 kB / 0.8552 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006765/1.014, allocations: 92.2 kB / 0.8553 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/1.015, allocations: 175.7 kB / 0.8554 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/1.017, allocations: 1.62 MB / 0.857 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/1.018, allocations: 103.2 kB / 0.8571 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/1.018, allocations: 39.97 kB / 0.8572 GB, free: 10.02 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0006781/1.019, allocations: 281.4 kB / 0.8574 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.019, allocations: 86.97 kB / 0.8575 GB, free: 9.648 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/1.022, allocations: 1.165 MB / 0.8587 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/1.022, allocations: 11.94 kB / 0.8587 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.022, allocations: 3.938 kB / 0.8587 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/1.022, allocations: 7.969 kB / 0.8587 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/1.023, allocations: 0.9422 MB / 0.8596 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.023, allocations: 0 / 0.8596 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006459/1.024, allocations: 159.8 kB / 0.8597 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004536/1.024, allocations: 68.78 kB / 0.8598 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/1.024, allocations: 23.98 kB / 0.8598 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/1.026, allocations: 1.662 MB / 0.8615 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.026, allocations: 0 / 0.8615 GB, free: 5.391 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/1.029, allocations: 0.9942 MB / 0.8624 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/1.029, allocations: 283.7 kB / 0.8627 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/1.029, allocations: 31.84 kB / 0.8627 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000619/1.03, allocations: 63.92 kB / 0.8628 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/1.03, allocations: 80.83 kB / 0.8629 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-05/1.03, allocations: 40.03 kB / 0.8629 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000635/1.031, allocations: 479 kB / 0.8634 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.01e-07/1.031, allocations: 4 kB / 0.8634 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001049/1.032, allocations: 319.4 kB / 0.8637 GB, free: 3.086 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001721/1.034, allocations: 0.6183 MB / 0.8643 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002102/1.036, allocations: 0.9053 MB / 0.8652 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.036, allocations: 0 / 0.8652 GB, free: 1.727 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009891/1.037, allocations: 0.5316 MB / 0.8657 GB, free: 1.184 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/1.038, allocations: 294.5 kB / 0.866 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004291/1.042, allocations: 1.83 MB / 0.8677 GB, free: 15.06 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007676/1.043, allocations: 1.043 MB / 0.8688 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009065/1.044, allocations: 275 kB / 0.869 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/1.044, allocations: 115.4 kB / 0.8691 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/1.044, allocations: 0 / 0.8691 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.02843/1.073, allocations: 15.53 MB / 0.8843 GB, free: 14.29 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)