Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004779/0.004779, allocations: 102.1 kB / 15.73 MB, free: 5.508 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.00139/0.00139, allocations: 197.3 kB / 16.68 MB, free: 5.438 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.499/2.499, allocations: 437.1 MB / 0.7106 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 59.91 kB / 1.018 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.243/0.2447, allocations: 151.6 MB / 1.166 GB, free: 7.41 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005956/0.2507, allocations: 4.986 MB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.6019/0.8526, allocations: 150.8 MB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006966/0.8533, allocations: 20.22 kB / 1.318 GB, free: 10.12 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.854, allocations: 193.9 kB / 1.319 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.8557, allocations: 0.5706 MB / 1.319 GB, free: 9.758 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.8575, allocations: 0.8528 MB / 1.32 GB, free: 9.594 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.8588, allocations: 1.459 MB / 1.321 GB, free: 9.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/0.8595, allocations: 0.5847 MB / 1.322 GB, free: 9.172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005252/0.86, allocations: 0.5144 MB / 1.322 GB, free: 9.055 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005524/0.8606, allocations: 0.5314 MB / 1.323 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.8607, allocations: 124.5 kB / 1.323 GB, free: 8.914 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007779/0.8615, allocations: 483.9 kB / 1.323 GB, free: 8.887 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.8618, allocations: 312.2 kB / 1.324 GB, free: 8.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005374/0.8623, allocations: 0.5896 MB / 1.324 GB, free: 8.426 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.8641, allocations: 1.687 MB / 1.326 GB, free: 7.719 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.8641, allocations: 1.219 kB / 1.326 GB, free: 7.719 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.163e-06/0.8641, allocations: 0 / 1.326 GB, free: 7.719 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.379e-05/0.8642, allocations: 1.344 kB / 1.326 GB, free: 7.719 MB / 1.014 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.002511/0.8667, allocations: 1.526 MB / 1.328 GB, free: 6.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.8667, allocations: 9.562 kB / 1.328 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.8669, allocations: 139.1 kB / 1.328 GB, free: 6.586 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008526/0.8677, allocations: 197.6 kB / 1.328 GB, free: 6.516 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.8689, allocations: 0.7946 MB / 1.329 GB, free: 5.996 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.427e-05/0.8689, allocations: 67.66 kB / 1.329 GB, free: 5.965 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.869, allocations: 81.23 kB / 1.329 GB, free: 5.941 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.8706, allocations: 0.968 MB / 1.33 GB, free: 5.504 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.8706, allocations: 0 / 1.33 GB, free: 5.504 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.452e-05/0.8707, allocations: 37.19 kB / 1.33 GB, free: 5.477 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.8707, allocations: 22.19 kB / 1.33 GB, free: 5.477 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.8724, allocations: 1.157 MB / 1.331 GB, free: 5.207 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.8762, allocations: 2.872 MB / 1.334 GB, free: 3.473 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/0.8777, allocations: 0.8503 MB / 1.335 GB, free: 3.148 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.8782, allocations: 327.4 kB / 1.335 GB, free: 3.023 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.8783, allocations: 38.27 kB / 1.335 GB, free: 3.012 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008376/0.8791, allocations: 0.5277 MB / 1.335 GB, free: 2.801 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 3.857e-06/0.8792, allocations: 0 / 1.335 GB, free: 2.801 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003133/0.8823, allocations: 1.303 MB / 1.337 GB, free: 2.254 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.8824, allocations: 197.6 kB / 1.337 GB, free: 2.031 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.8832, allocations: 0.6496 MB / 1.337 GB, free: 1.742 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.8832, allocations: 44.67 kB / 1.338 GB, free: 1.699 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.8835, allocations: 417.2 kB / 1.338 GB, free: 1.371 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.8838, allocations: 294.6 kB / 1.338 GB, free: 1.141 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.884, allocations: 167.1 kB / 1.338 GB, free: 1.062 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.8842, allocations: 393.2 kB / 1.339 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005035/0.8847, allocations: 271.6 kB / 1.339 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.8853, allocations: 387.3 kB / 1.339 GB, free: 436 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8865, allocations: 0.632 MB / 1.34 GB, free: 140 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.8865, allocations: 3.938 kB / 1.34 GB, free: 136 kB / 1.014 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001886/0.8884, allocations: 0.868 MB / 1.341 GB, free: 15.78 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8884, allocations: 9.312 kB / 1.341 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.8884, allocations: 3.328 kB / 1.341 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005458/0.889, allocations: 82.36 kB / 1.341 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006236/0.8896, allocations: 173.3 kB / 1.341 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001979/0.8916, allocations: 1.626 MB / 1.343 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006787/0.8923, allocations: 102.7 kB / 1.343 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.366e-05/0.8923, allocations: 36.11 kB / 1.343 GB, free: 14.14 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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 (97): * Single equations (assignments): 96 * 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.0003765/0.8927, allocations: 273.3 kB / 1.343 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.8929, allocations: 93.52 kB / 1.343 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.8953, allocations: 1.173 MB / 1.344 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.8953, allocations: 11 kB / 1.344 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.8953, allocations: 0 / 1.344 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.8954, allocations: 6.75 kB / 1.344 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.8964, allocations: 0.9384 MB / 1.345 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8964, allocations: 1.469 kB / 1.345 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005646/0.8969, allocations: 157.9 kB / 1.345 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.8974, allocations: 74.62 kB / 1.345 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.364e-05/0.8974, allocations: 32.17 kB / 1.345 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/0.8993, allocations: 1.654 MB / 1.347 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.8993, allocations: 10.27 kB / 1.347 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001957/0.9013, allocations: 0.998 MB / 1.348 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.9016, allocations: 288 kB / 1.348 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.9018, allocations: 26.34 kB / 1.348 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.9024, allocations: 73.78 kB / 1.348 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.9026, allocations: 81.75 kB / 1.349 GB, free: 10.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.9027, allocations: 38.34 kB / 1.349 GB, free: 10.62 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005676/0.9032, allocations: 482.6 kB / 1.349 GB, free: 10.42 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9032, allocations: 0 / 1.349 GB, free: 10.42 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008351/0.9041, allocations: 331.3 kB / 1.349 GB, free: 10.33 MB / 1.029 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.00381/0.9079, allocations: 2.064 MB / 1.351 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.9095, allocations: 0.858 MB / 1.352 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9095, allocations: 0 / 1.352 GB, free: 8.852 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008994/0.9104, allocations: 0.5498 MB / 1.353 GB, free: 8.598 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.9115, allocations: 302.3 kB / 1.353 GB, free: 8.496 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009121/0.9206, allocations: 6.525 MB / 1.359 GB, free: 5.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/0.9212, allocations: 1.042 MB / 1.36 GB, free: 4.172 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0007043/0.9219, allocations: 272.1 kB / 1.361 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005364/0.9225, allocations: 415.3 kB / 1.361 GB, free: 3.707 MB / 1.029 GB Notification: Performance of SimCode: time 1.974e-06/0.9225, allocations: 0 / 1.361 GB, free: 3.707 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4951/1.418, allocations: 22.74 MB / 1.383 GB, free: 6.172 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.74/25.16, allocations: 10.5 kB / 1.383 GB, free: 6.164 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)