Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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/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.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_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.005051/0.005051, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00131/0.00131, allocations: 192.4 kB / 16.67 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.296/1.296, 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 11.1.0-maint.11.x/package.mo): time 2.592/2.592, allocations: 469.8 MB / 0.7425 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001999/0.001999, allocations: 67.89 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7368/0.7388, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008302/0.7472, allocations: 6.908 MB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1612/0.9084, allocations: 151.3 MB / 1.375 GB, free: 3.234 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009246/0.9093, allocations: 23.88 kB / 1.375 GB, free: 3.211 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006825/0.9101, allocations: 257.4 kB / 1.375 GB, free: 2.957 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.9121, allocations: 0.8102 MB / 1.376 GB, free: 2.148 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.9141, allocations: 0.9847 MB / 1.377 GB, free: 1.168 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001953/0.916, allocations: 2.156 MB / 1.379 GB, free: 15 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001242/0.9173, allocations: 1.025 MB / 1.38 GB, free: 13.93 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008228/0.9181, allocations: 0.8292 MB / 1.381 GB, free: 13.1 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000937/0.9191, allocations: 0.9064 MB / 1.381 GB, free: 12.19 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002516/0.9193, allocations: 211.9 kB / 1.382 GB, free: 11.98 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008418/0.9202, allocations: 0.5621 MB / 1.382 GB, free: 11.42 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003968/0.9206, allocations: 486.5 kB / 1.383 GB, free: 10.94 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000804/0.9214, allocations: 0.9641 MB / 1.384 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.9239, allocations: 2.573 MB / 1.386 GB, free: 7.391 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.9239, allocations: 0 / 1.386 GB, free: 7.391 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9239, allocations: 0 / 1.386 GB, free: 7.391 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.978e-05/0.9239, allocations: 0 / 1.386 GB, free: 7.391 MB / 1.107 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.003632/0.9276, allocations: 2.118 MB / 1.388 GB, free: 5.203 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.9276, allocations: 12.03 kB / 1.388 GB, free: 5.191 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.9279, allocations: 224 kB / 1.388 GB, free: 4.961 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009561/0.9288, allocations: 263.6 kB / 1.389 GB, free: 4.703 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001416/0.9302, allocations: 1.001 MB / 1.39 GB, free: 3.656 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.9304, allocations: 123 kB / 1.39 GB, free: 3.535 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.9305, allocations: 148 kB / 1.39 GB, free: 3.391 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.9331, allocations: 1.584 MB / 1.391 GB, free: 1.75 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/0.9331, allocations: 0 / 1.391 GB, free: 1.75 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.9332, allocations: 67.94 kB / 1.391 GB, free: 1.684 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.9333, allocations: 36 kB / 1.392 GB, free: 1.648 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.9359, allocations: 1.631 MB / 1.393 GB, free: 12 kB / 1.107 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.006245/0.9421, allocations: 4.542 MB / 1.398 GB, free: 11.3 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.9442, allocations: 1.184 MB / 1.399 GB, free: 10.11 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/0.9451, allocations: 475.7 kB / 1.399 GB, free: 9.641 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.9452, allocations: 49.06 kB / 1.399 GB, free: 9.59 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.9464, allocations: 0.7885 MB / 1.4 GB, free: 8.785 MB / 1.123 GB Notification: Performance of pre-optimization done (n=128): time 2.064e-06/0.9465, allocations: 7.938 kB / 1.4 GB, free: 8.777 MB / 1.123 GB Notification: Performance of matching and sorting (n=128): time 0.004123/0.9506, allocations: 1.85 MB / 1.402 GB, free: 6.902 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.9507, allocations: 193.2 kB / 1.402 GB, free: 6.672 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.9517, allocations: 0.8655 MB / 1.403 GB, free: 5.781 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.046e-05/0.9518, allocations: 57.7 kB / 1.403 GB, free: 5.719 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/0.9523, allocations: 0.6223 MB / 1.403 GB, free: 5.086 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/0.9526, allocations: 428.3 kB / 1.404 GB, free: 4.664 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.953, allocations: 238.8 kB / 1.404 GB, free: 4.422 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.9531, allocations: 353.9 kB / 1.404 GB, free: 4.07 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.9539, allocations: 426.4 kB / 1.405 GB, free: 3.656 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.9549, allocations: 0.5643 MB / 1.405 GB, free: 3.062 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001694/0.9566, allocations: 0.9624 MB / 1.406 GB, free: 2.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.9566, allocations: 3.938 kB / 1.406 GB, free: 2.086 MB / 1.123 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002596/0.9592, allocations: 1.298 MB / 1.408 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.9592, allocations: 7.984 kB / 1.408 GB, free: 0.7695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.9592, allocations: 4 kB / 1.408 GB, free: 0.7656 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.9598, allocations: 80.84 kB / 1.408 GB, free: 0.6836 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.9608, allocations: 255.6 kB / 1.408 GB, free: 444 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.9629, allocations: 1.654 MB / 1.41 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.9639, allocations: 143.2 kB / 1.41 GB, free: 14.5 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-05/0.964, allocations: 59.91 kB / 1.41 GB, free: 14.44 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0005695/0.9646, allocations: 344.2 kB / 1.41 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002142/0.9648, allocations: 123.2 kB / 1.41 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.9683, allocations: 1.714 MB / 1.412 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.9684, allocations: 16 kB / 1.412 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.9684, allocations: 0 / 1.412 GB, free: 12.23 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/0.9684, allocations: 11.97 kB / 1.412 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.97, allocations: 1.416 MB / 1.413 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.97, allocations: 0 / 1.413 GB, free: 10.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008602/0.9708, allocations: 215.7 kB / 1.413 GB, free: 10.54 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.9713, allocations: 76.72 kB / 1.414 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.9714, allocations: 35.97 kB / 1.414 GB, free: 10.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.9732, allocations: 1.67 MB / 1.415 GB, free: 8.605 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.9732, allocations: 8.062 kB / 1.415 GB, free: 8.598 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.9759, allocations: 1.415 MB / 1.417 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004664/0.9763, allocations: 379.8 kB / 1.417 GB, free: 6.77 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.9765, allocations: 43.88 kB / 1.417 GB, free: 6.727 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008427/0.9774, allocations: 83.91 kB / 1.417 GB, free: 6.645 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.9776, allocations: 113.3 kB / 1.417 GB, free: 6.531 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.891e-05/0.9777, allocations: 47.97 kB / 1.417 GB, free: 6.484 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0008209/0.9785, allocations: 0.6542 MB / 1.418 GB, free: 5.82 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9785, allocations: 0 / 1.418 GB, free: 5.82 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001049/0.9796, allocations: 490.7 kB / 1.418 GB, free: 5.34 MB / 1.139 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 (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.004618/0.9842, allocations: 2.501 MB / 1.421 GB, free: 2.992 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002204/0.9864, allocations: 1.244 MB / 1.422 GB, free: 1.734 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9864, allocations: 8.188 kB / 1.422 GB, free: 1.727 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.9877, allocations: 0.7323 MB / 1.423 GB, free: 0.9844 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.9889, allocations: 354.7 kB / 1.423 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01411/1.003, allocations: 9.341 MB / 1.432 GB, free: 7.168 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/1.004, allocations: 1.24 MB / 1.433 GB, free: 5.898 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009915/1.005, allocations: 330.1 kB / 1.434 GB, free: 5.574 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/1.006, allocations: 0.6242 MB / 1.434 GB, free: 4.949 MB / 1.154 GB Notification: Performance of SimCode: time 9.12e-07/1.006, allocations: 11.94 kB / 1.434 GB, free: 4.938 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.427/4.433, allocations: 31.15 MB / 1.465 GB, free: 6.156 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/20.52, allocations: 18.16 kB / 1.465 GB, free: 6.141 MB / 1.186 GB (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)