Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_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.006357/0.006357, allocations: 98.02 kB / 15.73 MB, free: 6.062 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.001745/0.001745, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.258/1.258, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.468/2.468, allocations: 482.6 MB / 0.7551 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 70.88 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2511, allocations: 162.3 MB / 1.242 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005883/0.257, allocations: 4.98 MB / 1.247 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1475/0.4045, allocations: 150.8 MB / 1.394 GB, free: 12.48 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006947/0.4053, allocations: 15.94 kB / 1.394 GB, free: 12.47 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000577/0.4059, allocations: 194.1 kB / 1.394 GB, free: 12.28 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.4076, allocations: 0.5775 MB / 1.395 GB, free: 11.7 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.4093, allocations: 0.8403 MB / 1.396 GB, free: 10.87 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001531/0.4109, allocations: 1.456 MB / 1.397 GB, free: 9.402 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007585/0.4116, allocations: 0.5832 MB / 1.398 GB, free: 8.793 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005332/0.4122, allocations: 0.5139 MB / 1.398 GB, free: 8.277 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005577/0.4127, allocations: 0.5367 MB / 1.399 GB, free: 7.738 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.4129, allocations: 120 kB / 1.399 GB, free: 7.621 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007496/0.4136, allocations: 491.6 kB / 1.399 GB, free: 7.141 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.4139, allocations: 307 kB / 1.399 GB, free: 6.84 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0004773/0.4144, allocations: 0.583 MB / 1.4 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.4161, allocations: 1.697 MB / 1.402 GB, free: 4.551 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.4161, allocations: 4 kB / 1.402 GB, free: 4.547 MB / 1.123 GB Notification: Performance of FrontEnd: time 9.62e-07/0.4161, allocations: 0 / 1.402 GB, free: 4.547 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.4161, allocations: 0 / 1.402 GB, free: 4.547 MB / 1.123 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.002296/0.4184, allocations: 1.52 MB / 1.403 GB, free: 2.973 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.4184, allocations: 12.03 kB / 1.403 GB, free: 2.961 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.4186, allocations: 139.7 kB / 1.403 GB, free: 2.816 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.4194, allocations: 200 kB / 1.404 GB, free: 2.621 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.4205, allocations: 0.7863 MB / 1.404 GB, free: 1.793 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.4205, allocations: 66 kB / 1.404 GB, free: 1.727 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.4206, allocations: 84 kB / 1.404 GB, free: 1.645 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.4221, allocations: 0.973 MB / 1.405 GB, free: 0.6328 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.4221, allocations: 3.938 kB / 1.405 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-05/0.4222, allocations: 36 kB / 1.405 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.4222, allocations: 24 kB / 1.405 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/0.424, allocations: 1.155 MB / 1.407 GB, free: 15.41 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003787/0.4278, allocations: 2.931 MB / 1.409 GB, free: 12.35 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.4293, allocations: 0.8355 MB / 1.41 GB, free: 11.51 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.4298, allocations: 322.7 kB / 1.411 GB, free: 11.19 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.3e-05/0.4299, allocations: 36.67 kB / 1.411 GB, free: 11.16 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008545/0.4307, allocations: 0.5332 MB / 1.411 GB, free: 10.61 MB / 1.139 GB Notification: Performance of pre-optimization done (n=88): time 3.457e-06/0.4308, allocations: 0 / 1.411 GB, free: 10.61 MB / 1.139 GB Notification: Performance of matching and sorting (n=88): time 0.003078/0.4338, allocations: 1.31 MB / 1.412 GB, free: 9.273 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.434, allocations: 192.9 kB / 1.413 GB, free: 9.039 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/0.4347, allocations: 0.6567 MB / 1.413 GB, free: 8.375 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.4348, allocations: 45.7 kB / 1.413 GB, free: 8.324 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/0.4351, allocations: 413.1 kB / 1.414 GB, free: 7.914 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.4353, allocations: 297.5 kB / 1.414 GB, free: 7.621 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.4355, allocations: 162.6 kB / 1.414 GB, free: 7.457 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4357, allocations: 390.8 kB / 1.414 GB, free: 7.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.4362, allocations: 269.8 kB / 1.415 GB, free: 6.805 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.4369, allocations: 382.5 kB / 1.415 GB, free: 6.398 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.438, allocations: 0.6359 MB / 1.416 GB, free: 5.754 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.438, allocations: 4 kB / 1.416 GB, free: 5.75 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001859/0.4399, allocations: 0.8803 MB / 1.417 GB, free: 4.859 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.4399, allocations: 4 kB / 1.417 GB, free: 4.855 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.4399, allocations: 4 kB / 1.417 GB, free: 4.852 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.4404, allocations: 80.84 kB / 1.417 GB, free: 4.77 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/0.4411, allocations: 163.8 kB / 1.417 GB, free: 4.609 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.443, allocations: 1.634 MB / 1.418 GB, free: 2.832 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005865/0.4436, allocations: 99.41 kB / 1.418 GB, free: 2.734 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.4437, allocations: 31.97 kB / 1.419 GB, free: 2.703 MB / 1.139 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.0003361/0.444, allocations: 278 kB / 1.419 GB, free: 2.422 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.4442, allocations: 95.39 kB / 1.419 GB, free: 2.328 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.4466, allocations: 1.168 MB / 1.42 GB, free: 1.145 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4466, allocations: 8 kB / 1.42 GB, free: 1.137 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.4466, allocations: 0 / 1.42 GB, free: 1.137 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.4466, allocations: 3.984 kB / 1.42 GB, free: 1.133 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009709/0.4476, allocations: 0.9427 MB / 1.421 GB, free: 144 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4476, allocations: 0 / 1.421 GB, free: 144 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.4482, allocations: 155.8 kB / 1.421 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.4486, allocations: 76.61 kB / 1.421 GB, free: 15.91 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.4486, allocations: 31.97 kB / 1.421 GB, free: 15.88 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.4504, allocations: 1.646 MB / 1.423 GB, free: 14.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4504, allocations: 7.938 kB / 1.423 GB, free: 14.08 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001921/0.4524, allocations: 1.002 MB / 1.424 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003214/0.4527, allocations: 296.3 kB / 1.424 GB, free: 12.75 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.4528, allocations: 23.88 kB / 1.424 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.4534, allocations: 71.91 kB / 1.424 GB, free: 12.65 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.4536, allocations: 76.89 kB / 1.424 GB, free: 12.58 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.4536, allocations: 35.98 kB / 1.424 GB, free: 12.54 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0005333/0.4542, allocations: 483 kB / 1.425 GB, free: 12.07 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4542, allocations: 4 kB / 1.425 GB, free: 12.07 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0006486/0.4548, allocations: 335.2 kB / 1.425 GB, free: 11.74 MB / 1.154 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.003753/0.4586, allocations: 2.052 MB / 1.427 GB, free: 9.844 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001544/0.4602, allocations: 0.8624 MB / 1.428 GB, free: 8.969 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4602, allocations: 3.938 kB / 1.428 GB, free: 8.965 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.4611, allocations: 0.5433 MB / 1.428 GB, free: 8.41 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.4621, allocations: 316.8 kB / 1.429 GB, free: 8.129 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009388/0.4715, allocations: 6.531 MB / 1.435 GB, free: 1.438 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.4721, allocations: 1.044 MB / 1.436 GB, free: 372 kB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0006709/0.4728, allocations: 279.1 kB / 1.436 GB, free: 88 kB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005472/0.4734, allocations: 407.3 kB / 1.437 GB, free: 15.68 MB / 1.17 GB Notification: Performance of SimCode: time 1.824e-06/0.4734, allocations: 0 / 1.437 GB, free: 15.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7287/1.202, allocations: 22.74 MB / 1.459 GB, free: 9.285 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.3/33.5, allocations: 7.172 kB / 1.459 GB, free: 9.285 MB / 1.186 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)