Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1484/0.1491, allocations: 82.22 MB / 0.5934 GB, free: 5.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00491/0.154, allocations: 3.332 MB / 0.5966 GB, free: 2.629 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5039/0.658, allocations: 126.8 MB / 0.7204 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.6585, allocations: 9.656 kB / 0.7204 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002932/0.6588, allocations: 66.16 kB / 0.7205 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.6598, allocations: 443.4 kB / 0.7209 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.6609, allocations: 470.3 kB / 0.7214 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007764/0.6617, allocations: 0.6906 MB / 0.722 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005979/0.6623, allocations: 423.9 kB / 0.7225 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.6628, allocations: 304.6 kB / 0.7227 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.6631, allocations: 283.8 kB / 0.723 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.541e-05/0.6632, allocations: 19.62 kB / 0.723 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007223/0.6639, allocations: 293.1 kB / 0.7233 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.6641, allocations: 152.3 kB / 0.7235 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.6643, allocations: 176.3 kB / 0.7236 GB, free: 16.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.6654, allocations: 0.9637 MB / 0.7246 GB, free: 16.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6654, allocations: 0.7188 kB / 0.7246 GB, free: 16.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6654, allocations: 1.75 kB / 0.7246 GB, free: 16.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.6654, allocations: 0.75 kB / 0.7246 GB, free: 16.5 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001861/0.6673, allocations: 1.077 MB / 0.7256 GB, free: 15.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.6673, allocations: 10.25 kB / 0.7256 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.6693, allocations: 312.2 kB / 0.7259 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.6703, allocations: 0.6079 MB / 0.7265 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.24e-05/0.6704, allocations: 56.78 kB / 0.7266 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.6705, allocations: 82.12 kB / 0.7267 GB, free: 15.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.6723, allocations: 0.8637 MB / 0.7275 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.6723, allocations: 8.688 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.6724, allocations: 38.67 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.084e-05/0.6724, allocations: 18.78 kB / 0.7276 GB, free: 15.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/0.6749, allocations: 1.12 MB / 0.7287 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005287/0.6802, allocations: 2.367 MB / 0.731 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00204/0.6822, allocations: 0.8139 MB / 0.7318 GB, free: 14.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/0.683, allocations: 474.7 kB / 0.7322 GB, free: 13.96 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.684, allocations: 491.4 kB / 0.7327 GB, free: 13.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=75): time 3.025e-06/0.684, allocations: 0 / 0.7327 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=75): time 0.003192/0.6872, allocations: 1.15 MB / 0.7338 GB, free: 13.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.6873, allocations: 114.6 kB / 0.7339 GB, free: 13.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000688/0.688, allocations: 0.4954 MB / 0.7344 GB, free: 13.19 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.662e-05/0.6881, allocations: 42.2 kB / 0.7344 GB, free: 13.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.6883, allocations: 339.5 kB / 0.7348 GB, free: 12.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.6886, allocations: 249.2 kB / 0.735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.6886, allocations: 13.47 kB / 0.735 GB, free: 12.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.6888, allocations: 365 kB / 0.7354 GB, free: 12.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006414/0.6895, allocations: 262 kB / 0.7356 GB, free: 12.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006489/0.6901, allocations: 330.7 kB / 0.7359 GB, free: 12.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.6908, allocations: 298 kB / 0.7362 GB, free: 12.24 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.6908, allocations: 0 / 0.7362 GB, free: 12.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001939/0.6927, allocations: 0.7887 MB / 0.737 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.6928, allocations: 7.828 kB / 0.737 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.6928, allocations: 6.031 kB / 0.737 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005124/0.6933, allocations: 75.77 kB / 0.7371 GB, free: 12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007384/0.694, allocations: 165 kB / 0.7372 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.696, allocations: 1.421 MB / 0.7386 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.6967, allocations: 76.92 kB / 0.7387 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.6968, allocations: 33.23 kB / 0.7387 GB, free: 10.56 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005925/0.6974, allocations: 242.6 kB / 0.7389 GB, free: 10.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.6976, allocations: 80.84 kB / 0.739 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.7003, allocations: 1.05 MB / 0.74 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.7004, allocations: 8.219 kB / 0.7401 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.7004, allocations: 4 kB / 0.7401 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.7004, allocations: 7.969 kB / 0.7401 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003393/0.7038, allocations: 1.841 MB / 0.7419 GB, free: 9.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.7038, allocations: 3.953 kB / 0.7419 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.7045, allocations: 163.5 kB / 0.742 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004314/0.705, allocations: 75.39 kB / 0.7421 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.705, allocations: 20.7 kB / 0.7421 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.7066, allocations: 1.471 MB / 0.7436 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7066, allocations: 0 / 0.7436 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.7086, allocations: 0.9464 MB / 0.7445 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.709, allocations: 268.7 kB / 0.7447 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.7091, allocations: 18.72 kB / 0.7448 GB, free: 7.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.7097, allocations: 67.03 kB / 0.7448 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.7098, allocations: 54.31 kB / 0.7449 GB, free: 7.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.7099, allocations: 34.14 kB / 0.7449 GB, free: 7.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000427/0.7103, allocations: 369 kB / 0.7453 GB, free: 7.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7103, allocations: 0 / 0.7453 GB, free: 7.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009618/0.7113, allocations: 288.7 kB / 0.7455 GB, free: 7.133 MB / 0.545 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00142/0.7127, allocations: 0.6228 MB / 0.7461 GB, free: 6.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001735/0.7145, allocations: 0.7931 MB / 0.7469 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7145, allocations: 3.312 kB / 0.7469 GB, free: 6.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008537/0.7154, allocations: 496.2 kB / 0.7474 GB, free: 6.477 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008296/0.7162, allocations: 177.9 kB / 0.7476 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.7201, allocations: 1.981 MB / 0.7495 GB, free: 5.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.7208, allocations: 0.9984 MB / 0.7505 GB, free: 4.492 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009411/0.7217, allocations: 246.9 kB / 0.7507 GB, free: 4.359 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.722, allocations: 88.86 kB / 0.7508 GB, free: 4.34 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.722, allocations: 4 kB / 0.7508 GB, free: 4.336 MB / 0.545 GB Notification: Performance of Templates: time 0.02013/0.7421, allocations: 11.73 MB / 0.7622 GB, free: 14.51 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: