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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001279/0.001279, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.67/1.67, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001796, allocations: 289.3 kB / 291.4 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9844/0.9844, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 13 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.2074, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005469/0.2129, allocations: 4.706 MB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5453/0.7583, allocations: 137.3 MB / 0.8232 GB, free: 120 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.7594, allocations: 17.25 kB / 0.8232 GB, free: 116 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005664/0.76, allocations: 151.3 kB / 0.8233 GB, free: 44 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.7621, allocations: 0.553 MB / 0.8239 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002237/0.7644, allocations: 0.7355 MB / 0.8246 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002294/0.7667, allocations: 1.633 MB / 0.8262 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.7679, allocations: 0.8329 MB / 0.827 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.7692, allocations: 0.5261 MB / 0.8275 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007921/0.77, allocations: 0.5956 MB / 0.8281 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.7701, allocations: 40.81 kB / 0.8281 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.7712, allocations: 363.3 kB / 0.8285 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003087/0.7715, allocations: 268 kB / 0.8287 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.7719, allocations: 296.3 kB / 0.829 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/0.7737, allocations: 1.801 MB / 0.8308 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7737, allocations: 3.938 kB / 0.8308 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.7738, allocations: 2.688 kB / 0.8308 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.717e-05/0.7738, allocations: 0 / 0.8308 GB, free: 13.14 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003523/0.7773, allocations: 1.69 MB / 0.8324 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7774, allocations: 15.97 kB / 0.8324 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.7784, allocations: 270.9 kB / 0.8327 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.7798, allocations: 0.9306 MB / 0.8336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.803e-05/0.7799, allocations: 115.8 kB / 0.8337 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.7801, allocations: 148.8 kB / 0.8339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002673/0.7827, allocations: 1.569 MB / 0.8354 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.23e-05/0.7828, allocations: 6.75 kB / 0.8354 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.7829, allocations: 73.28 kB / 0.8355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.783, allocations: 38.19 kB / 0.8355 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.7855, allocations: 1.631 MB / 0.8371 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00653/0.7921, allocations: 4.176 MB / 0.8412 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001937/0.7941, allocations: 1.199 MB / 0.8423 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000735/0.7948, allocations: 472.2 kB / 0.8428 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.7949, allocations: 48.56 kB / 0.8428 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001277/0.7962, allocations: 0.783 MB / 0.8436 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=128): time 3.046e-06/0.7962, allocations: 3.938 kB / 0.8436 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of matching and sorting (n=128): time 0.004053/0.8003, allocations: 1.837 MB / 0.8454 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.8004, allocations: 198.6 kB / 0.8456 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.8016, allocations: 0.8634 MB / 0.8464 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.8017, allocations: 49.95 kB / 0.8465 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.8022, allocations: 0.6061 MB / 0.8471 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003284/0.8025, allocations: 410.2 kB / 0.8475 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-05/0.8026, allocations: 25.06 kB / 0.8475 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.8027, allocations: 348.8 kB / 0.8478 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/0.8035, allocations: 454.4 kB / 0.8483 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/0.8044, allocations: 0.558 MB / 0.8488 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000875/0.8053, allocations: 0.4918 MB / 0.8493 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.8053, allocations: 0 / 0.8493 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002599/0.8079, allocations: 1.335 MB / 0.8506 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.808, allocations: 4.625 kB / 0.8506 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.808, allocations: 7.375 kB / 0.8506 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005471/0.8085, allocations: 76.97 kB / 0.8507 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.8096, allocations: 276.6 kB / 0.8509 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.8116, allocations: 1.522 MB / 0.8524 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001214/0.8128, allocations: 168.8 kB / 0.8526 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.813, allocations: 67.12 kB / 0.8527 GB, free: 324 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007347/0.8137, allocations: 348.9 kB / 0.853 GB, free: 56 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.8139, allocations: 123.7 kB / 0.8531 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003605/0.8175, allocations: 1.726 MB / 0.8548 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.8176, allocations: 15.72 kB / 0.8548 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8176, allocations: 0 / 0.8548 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.8176, allocations: 7.969 kB / 0.8548 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.8194, allocations: 1.406 MB / 0.8562 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.8195, allocations: 0 / 0.8562 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/0.8203, allocations: 219.1 kB / 0.8564 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.8208, allocations: 87.06 kB / 0.8565 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.996e-05/0.8209, allocations: 50.14 kB / 0.8565 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.8227, allocations: 1.559 MB / 0.858 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8227, allocations: 0 / 0.858 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.8255, allocations: 1.407 MB / 0.8594 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000672/0.8262, allocations: 404 kB / 0.8598 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/0.8263, allocations: 36.61 kB / 0.8598 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008304/0.8272, allocations: 116.5 kB / 0.86 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.8274, allocations: 117.2 kB / 0.8601 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.916e-05/0.8275, allocations: 51.72 kB / 0.8601 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009403/0.8285, allocations: 0.6338 MB / 0.8607 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8285, allocations: 0 / 0.8607 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001243/0.8297, allocations: 465.8 kB / 0.8612 GB, free: 10.41 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001434/0.8312, allocations: 0.6102 MB / 0.8618 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002444/0.8336, allocations: 1.263 MB / 0.863 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8336, allocations: 8.047 kB / 0.863 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.8349, allocations: 0.7362 MB / 0.8637 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.8362, allocations: 291.5 kB / 0.864 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005582/0.8418, allocations: 3.325 MB / 0.8673 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007666/0.8426, allocations: 1.24 MB / 0.8685 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001287/0.8439, allocations: 329.9 kB / 0.8688 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.8443, allocations: 155.3 kB / 0.8689 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of SimCode: time 2.565e-06/0.8443, allocations: 4 kB / 0.8689 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Templates: time 0.03425/0.8786, allocations: 19.06 MB / 0.8875 GB, free: 15.69 MB / 0.6075 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)