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.001047/0.001047, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001149/0.001149, allocations: 191.5 kB / 16.13 MB, free: 6.668 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003505/0.003505, allocations: 282.7 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 90.44 kB / 0.5945 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1576, allocations: 86.98 MB / 0.6794 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005815/0.1635, allocations: 4.479 MB / 0.6838 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4222/0.5857, allocations: 148.4 MB / 0.8288 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007415/0.5865, allocations: 14.47 kB / 0.8288 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004788/0.587, allocations: 137.4 kB / 0.8289 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.5886, allocations: 459.3 kB / 0.8294 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.5903, allocations: 0.7339 MB / 0.8301 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001161/0.5915, allocations: 1.286 MB / 0.8313 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007999/0.5923, allocations: 0.5981 MB / 0.8319 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.5929, allocations: 441.6 kB / 0.8323 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004294/0.5933, allocations: 497.6 kB / 0.8328 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001276/0.5935, allocations: 59.25 kB / 0.8329 GB, free: 340 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.5942, allocations: 396.2 kB / 0.8332 GB, free: 324 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002125/0.5945, allocations: 250 kB / 0.8335 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.5948, allocations: 0.5067 MB / 0.834 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.5962, allocations: 1.56 MB / 0.8355 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5962, allocations: 0 / 0.8355 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5962, allocations: 0 / 0.8355 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.5962, allocations: 0 / 0.8355 GB, free: 15.86 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002767/0.599, allocations: 1.469 MB / 0.8369 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.599, allocations: 9.656 kB / 0.8369 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009827/0.6, allocations: 188 kB / 0.8371 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009435/0.601, allocations: 0.7666 MB / 0.8379 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.601, allocations: 67 kB / 0.8379 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.6011, allocations: 82.47 kB / 0.838 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.6028, allocations: 0.968 MB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.6028, allocations: 3.984 kB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.6029, allocations: 40.56 kB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.234e-05/0.6029, allocations: 26.06 kB / 0.839 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.6047, allocations: 1.153 MB / 0.8402 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00387/0.6086, allocations: 2.675 MB / 0.8428 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.6101, allocations: 0.8433 MB / 0.8436 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005379/0.6106, allocations: 319.8 kB / 0.8439 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.458e-05/0.6107, allocations: 38.34 kB / 0.8439 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009355/0.6117, allocations: 0.5354 MB / 0.8445 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.385e-06/0.6117, allocations: 0 / 0.8445 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003208/0.6149, allocations: 1.288 MB / 0.8457 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.586e-05/0.615, allocations: 188.9 kB / 0.8459 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007115/0.6157, allocations: 0.6568 MB / 0.8465 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.95e-05/0.6158, allocations: 47.14 kB / 0.8466 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.6161, allocations: 404 kB / 0.847 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.6163, allocations: 288 kB / 0.8472 GB, free: 9.496 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.6165, allocations: 182.8 kB / 0.8474 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6167, allocations: 388.1 kB / 0.8478 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.6172, allocations: 291.8 kB / 0.8481 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.6179, allocations: 395.3 kB / 0.8484 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.619, allocations: 0.6577 MB / 0.8491 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.619, allocations: 2.906 kB / 0.8491 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001991/0.621, allocations: 0.9134 MB / 0.85 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.6211, allocations: 5.062 kB / 0.85 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.6211, allocations: 7.5 kB / 0.85 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006194/0.6217, allocations: 81.75 kB / 0.8501 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.6224, allocations: 178.7 kB / 0.8502 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.6245, allocations: 1.521 MB / 0.8517 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.6252, allocations: 97.09 kB / 0.8518 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.6253, allocations: 39.44 kB / 0.8519 GB, free: 6.172 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: 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.0003841/0.6257, allocations: 273.8 kB / 0.8521 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6259, allocations: 92.78 kB / 0.8522 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002548/0.6284, allocations: 1.164 MB / 0.8533 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.6285, allocations: 10.44 kB / 0.8533 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.6285, allocations: 0 / 0.8533 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.6285, allocations: 9.703 kB / 0.8534 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.6295, allocations: 0.9421 MB / 0.8543 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6295, allocations: 0 / 0.8543 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.6301, allocations: 169.1 kB / 0.8544 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005249/0.6306, allocations: 74.78 kB / 0.8545 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.186e-05/0.6307, allocations: 32.19 kB / 0.8545 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.6325, allocations: 1.544 MB / 0.856 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6325, allocations: 0 / 0.856 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.6345, allocations: 0.9965 MB / 0.857 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003388/0.6348, allocations: 278 kB / 0.8573 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.635, allocations: 39.84 kB / 0.8573 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006559/0.6356, allocations: 65.45 kB / 0.8574 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.6358, allocations: 75.94 kB / 0.8575 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/0.6359, allocations: 37.42 kB / 0.8575 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005178/0.6364, allocations: 481.7 kB / 0.858 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6364, allocations: 4 kB / 0.858 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007785/0.6372, allocations: 318.6 kB / 0.8583 GB, free: 1.711 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: 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.001259/0.6384, allocations: 0.6205 MB / 0.8589 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001615/0.6401, allocations: 0.8886 MB / 0.8597 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6401, allocations: 0 / 0.8597 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009149/0.641, allocations: 0.5458 MB / 0.8603 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6421, allocations: 270.9 kB / 0.8605 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00382/0.6459, allocations: 2.277 MB / 0.8628 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.6465, allocations: 1.045 MB / 0.8638 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000855/0.6473, allocations: 265.6 kB / 0.864 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.6476, allocations: 114.8 kB / 0.8641 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6476, allocations: 0 / 0.8641 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.02348/0.6711, allocations: 14.86 MB / 0.8786 GB, free: 3.332 MB / 0.5919 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)