Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_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.005976/0.005976, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001634/0.001634, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.248/1.248, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.45/2.45, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 68.11 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2518, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006184/0.258, allocations: 4.985 MB / 1.225 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.5944/0.8525, allocations: 150.8 MB / 1.372 GB, free: 10.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00061/0.8531, allocations: 20.28 kB / 1.372 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.000476/0.8536, allocations: 200.8 kB / 1.372 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.8549, allocations: 0.5677 MB / 1.373 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.8564, allocations: 0.8564 MB / 1.374 GB, free: 9.938 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001177/0.8576, allocations: 1.448 MB / 1.375 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000701/0.8583, allocations: 0.5971 MB / 1.376 GB, free: 8.875 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004741/0.8588, allocations: 0.5026 MB / 1.376 GB, free: 8.625 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.8594, allocations: 0.5355 MB / 1.377 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001431/0.8595, allocations: 120.9 kB / 1.377 GB, free: 8.344 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000655/0.8602, allocations: 494.1 kB / 1.377 GB, free: 8.223 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.8605, allocations: 309 kB / 1.378 GB, free: 8.027 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.8609, allocations: 0.5816 MB / 1.378 GB, free: 7.641 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.8624, allocations: 1.696 MB / 1.38 GB, free: 6.695 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.8625, allocations: 0 / 1.38 GB, free: 6.695 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8625, allocations: 0 / 1.38 GB, free: 6.695 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.8625, allocations: 0 / 1.38 GB, free: 6.695 MB / 1.076 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.002307/0.8648, allocations: 1.522 MB / 1.381 GB, free: 5.492 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.8648, allocations: 13.81 kB / 1.381 GB, free: 5.488 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.865, allocations: 137.5 kB / 1.382 GB, free: 5.375 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.8658, allocations: 195.2 kB / 1.382 GB, free: 5.281 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.8668, allocations: 0.7949 MB / 1.383 GB, free: 4.629 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.8669, allocations: 66.16 kB / 1.383 GB, free: 4.598 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.842e-05/0.867, allocations: 87.52 kB / 1.383 GB, free: 4.566 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.8685, allocations: 0.9601 MB / 1.384 GB, free: 3.953 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.8685, allocations: 5.125 kB / 1.384 GB, free: 3.949 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.22e-05/0.8686, allocations: 41.03 kB / 1.384 GB, free: 3.918 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.8686, allocations: 20.94 kB / 1.384 GB, free: 3.918 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.8703, allocations: 1.165 MB / 1.385 GB, free: 3.355 MB / 1.076 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.003786/0.8741, allocations: 2.862 MB / 1.388 GB, free: 1.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.8755, allocations: 0.8455 MB / 1.388 GB, free: 0.6484 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/0.8761, allocations: 319.8 kB / 1.389 GB, free: 500 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.335e-05/0.8761, allocations: 40.23 kB / 1.389 GB, free: 476 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008399/0.877, allocations: 0.5364 MB / 1.389 GB, free: 124 kB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 3.797e-06/0.877, allocations: 0 / 1.389 GB, free: 124 kB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.00304/0.88, allocations: 1.298 MB / 1.391 GB, free: 15.42 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.8802, allocations: 194.5 kB / 1.391 GB, free: 15.2 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007262/0.8809, allocations: 0.652 MB / 1.391 GB, free: 14.82 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 6.363e-05/0.881, allocations: 43.33 kB / 1.391 GB, free: 14.77 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/0.8813, allocations: 419 kB / 1.392 GB, free: 14.41 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.8815, allocations: 300.2 kB / 1.392 GB, free: 14.15 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.8817, allocations: 162.1 kB / 1.392 GB, free: 14.05 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.8819, allocations: 394.6 kB / 1.393 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.8824, allocations: 268.8 kB / 1.393 GB, free: 13.54 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.883, allocations: 387.4 kB / 1.393 GB, free: 13.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/0.8841, allocations: 0.6392 MB / 1.394 GB, free: 12.96 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.8841, allocations: 5.594 kB / 1.394 GB, free: 12.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001814/0.886, allocations: 0.87 MB / 1.395 GB, free: 12.51 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.886, allocations: 9.625 kB / 1.395 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.886, allocations: 1.188 kB / 1.395 GB, free: 12.51 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.8865, allocations: 83.73 kB / 1.395 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006055/0.8872, allocations: 164.4 kB / 1.395 GB, free: 12.43 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.8891, allocations: 1.623 MB / 1.397 GB, free: 10.83 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006072/0.8897, allocations: 109.7 kB / 1.397 GB, free: 10.75 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.8898, allocations: 34.3 kB / 1.397 GB, free: 10.74 MB / 1.092 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.0003366/0.8901, allocations: 277.8 kB / 1.397 GB, free: 10.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.8903, allocations: 88.66 kB / 1.397 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002323/0.8926, allocations: 1.159 MB / 1.398 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.8926, allocations: 9.625 kB / 1.398 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8926, allocations: 1.375 kB / 1.398 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/0.8926, allocations: 11.92 kB / 1.398 GB, free: 9.82 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009679/0.8936, allocations: 0.9436 MB / 1.399 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.8936, allocations: 0 / 1.399 GB, free: 9.105 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/0.8942, allocations: 155.3 kB / 1.399 GB, free: 9.07 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003952/0.8946, allocations: 74.41 kB / 1.399 GB, free: 9.031 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.8946, allocations: 28.33 kB / 1.399 GB, free: 9.012 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.8964, allocations: 1.663 MB / 1.401 GB, free: 7.395 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8964, allocations: 4.062 kB / 1.401 GB, free: 7.391 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.8983, allocations: 1.002 MB / 1.402 GB, free: 6.855 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.8986, allocations: 286.9 kB / 1.402 GB, free: 6.605 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.8987, allocations: 22.81 kB / 1.402 GB, free: 6.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.8993, allocations: 71.91 kB / 1.402 GB, free: 6.555 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.8995, allocations: 79.42 kB / 1.402 GB, free: 6.512 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-05/0.8996, allocations: 42.94 kB / 1.403 GB, free: 6.496 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004878/0.9001, allocations: 481.2 kB / 1.403 GB, free: 6.223 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9001, allocations: 0 / 1.403 GB, free: 6.223 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006796/0.9007, allocations: 333.8 kB / 1.403 GB, free: 6.129 MB / 1.092 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.003691/0.9044, allocations: 2.063 MB / 1.405 GB, free: 4.859 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.9059, allocations: 0.8584 MB / 1.406 GB, free: 4.418 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9059, allocations: 3.938 kB / 1.406 GB, free: 4.414 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008591/0.9068, allocations: 0.5501 MB / 1.407 GB, free: 4.105 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.9078, allocations: 311.2 kB / 1.407 GB, free: 3.949 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009117/0.9169, allocations: 6.527 MB / 1.413 GB, free: 14.86 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.9176, allocations: 1.045 MB / 1.414 GB, free: 13.78 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000686/0.9183, allocations: 271.2 kB / 1.415 GB, free: 13.51 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005422/0.9188, allocations: 414.1 kB / 1.415 GB, free: 13.11 MB / 1.107 GB Notification: Performance of SimCode: time 2.31e-07/0.9188, allocations: 0 / 1.415 GB, free: 13.11 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.844/7.763, allocations: 22.74 MB / 1.437 GB, free: 6.727 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/22.69, allocations: 8.062 kB / 1.437 GB, free: 6.719 MB / 1.123 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)